update
This commit is contained in:
@@ -26,14 +26,15 @@ struct app_com_class_t
|
||||
bsp_uart_t *com_uart; /*绑定的实际物理串口*/
|
||||
struct
|
||||
{
|
||||
void (*baud_rate)(app_com_class_t *,u16); /*设置波特率*/
|
||||
void (*baud_rate)(app_com_class_t *,u16); /*设置波特率*/
|
||||
}set;
|
||||
void (*init)(app_com_class_t *); /*初始化*/
|
||||
//void (*init)(app_com_class_t *); /*初始化*/
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
app_com_class_t com[APP_COM_NUM];
|
||||
void (*init)(void); /*初始化*/
|
||||
void (*class_update)(void ); /*com区域分类*/
|
||||
}app_com_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user