feat: 开启速度闭环

fix: 暂时修复通信卡死问题
This commit is contained in:
2024-03-05 21:28:08 +08:00
parent 6c0cfe1248
commit bab1667efb
7 changed files with 112 additions and 23 deletions

View File

@@ -6,7 +6,7 @@ uint8 bt_buffer; // 接收字符存入
uint32_t bt_run_flag = 0;
uint8_t bt_fly_flag = 0;
uint32_t bt_run = 0;
uint32_t bt_fly = 0;
uint32_t bt_fly = 500;
enum bt_order {
Fly_ctrl = 0x01, // 起飞转换
Fly_up = 0x02, // 起飞程度增加