mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
init cursor_x
This commit is contained in:
parent
0fd8774d50
commit
d1841df0d5
1 changed files with 2 additions and 1 deletions
|
@ -477,7 +477,8 @@ void show_menu(void) {
|
|||
uint16_t pos;
|
||||
col_t *col;
|
||||
row_t *row;
|
||||
int16_t cursor_x, cursor_y;
|
||||
int16_t cursor_x = 0;
|
||||
int16_t cursor_y = 0;
|
||||
|
||||
if (activating_menu) {
|
||||
if (sticks[YAW] < 60 && sticks[YAW] > 40 && sticks[PITCH] > 40 && sticks[PITCH] < 60 && sticks[ROLL] > 40 && sticks[ROLL] < 60)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue