pref:弯道速度按曲率分段控制
增加斑马线积分按键更改距离 优化按键调参加减方向
This commit is contained in:
@@ -37,8 +37,11 @@ static void Setup()
|
||||
ips200_show_int(80, 180, bt_run_flag, 1);
|
||||
ips200_show_string(10, 160, "fl_flag:");
|
||||
ips200_show_int(80, 160, bt_fly_flag, 1);
|
||||
|
||||
ips200_show_string(10, 18, "fan_test");
|
||||
ips200_show_string(10, 2 * 18, "run");
|
||||
ips200_show_string(10, 3 * 18, "fly_close");
|
||||
ips200_show_string(10, 4 * 18, "run_close");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -95,6 +98,13 @@ static void Event(page_event event)
|
||||
if (go_cnt == 1 && Curser == 2) {
|
||||
go_cnt = 2;
|
||||
}
|
||||
if (Curser == 3 && bt_fly_flag != 0) {
|
||||
bt_fly_flag = 0;
|
||||
}
|
||||
if (Curser == 4 && bt_run_flag != 0) {
|
||||
bt_run_flag = 0;
|
||||
go_cnt=0;
|
||||
}
|
||||
|
||||
} else if (page_event_press_long == event) {
|
||||
Page_Shift(page_menu);
|
||||
|
||||
Reference in New Issue
Block a user