添加BOOT键、飞控复位控制、串口校验位设置
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
#include "os/os.h"
|
||||
#include "device.h"
|
||||
#include "../led_strip/led_strip.h"
|
||||
#include "protocol/stmisp.h"
|
||||
|
||||
// 按键事件类型
|
||||
typedef enum {
|
||||
EVT_NONE = 0, // 无事件
|
||||
@@ -45,4 +47,5 @@ typedef struct {
|
||||
|
||||
extern bool key_single_click,key_press_down,key_press_up;
|
||||
void _work_button(void *arg);
|
||||
void button_work_init();
|
||||
void button_work_init();
|
||||
void boot_set(uint8_t value);
|
||||
Reference in New Issue
Block a user