在逗猫棒的基础上实现蓝牙转USB功能,目前功能已经实现,还需裁剪掉之前逗猫棒的业务程序

This commit is contained in:
2026-07-24 11:41:08 +08:00
commit b3f06697a6
1569 changed files with 515355 additions and 0 deletions
@@ -0,0 +1,21 @@
#ifndef __UI_MAINMENU_H__
#define __UI_MAINMENU_H__
#define AUTORUNTIMEMAX 10
#define TASKTOTLE 24 //任务总数
#define SCREENSHOWTASKSUM 5 //屏幕需显示的任务图标
//#define SHOWTASKSUM 8 //需显示的任务图标总数
typedef struct {
u8 taskname[16]; //任务名
u16 bmpID; //该任务在主界面显示的图标
u16 strID; //该任务在主界面显示的字符串
u8 showflag; //标识该任务是否显式的显示任务图标
} TASKSTRUCT;
extern const TASKSTRUCT taskbuf[TASKTOTLE];
extern u8 taskshow[TASKTOTLE];
u8 UI_mainmenu(s8 apprun);
void findtaskexist(u8 tasksum);
#endif