设备屏蔽功能
适配新版界面
This commit is contained in:
2026-03-06 13:48:42 +08:00
parent 090eb335a8
commit 7373c0ad95
14 changed files with 854 additions and 337 deletions
+2 -1
View File
@@ -26,7 +26,7 @@ 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 *,u32); /*设置波特率*/
}set;
//void (*init)(app_com_class_t *); /*初始化*/
};
@@ -36,6 +36,7 @@ typedef struct
app_com_class_t com[APP_COM_NUM];
void (*init)(void); /*初始化*/
void (*class_update)(void ); /*com区域分类*/
void (*save_flah)(void);
}app_com_t;
extern app_com_t app_com;