@@ -1268,7 +1268,7 @@ void Force::start_up_menu() {
12681268 delay (250 );
12691269 calibrate_active = true ;
12701270 Calibrate ();
1271- tft.fillRect (0 , (option * 8 ) + 19 , 160 , 9 , ST7735_BLUE); // highlight active bar
1271+ tft.fillRect (0 , (( option - 12 ) * 8 ) + 19 , 160 , 9 , ST7735_BLUE); // highlight active bar
12721272 }
12731273 }
12741274
@@ -1279,7 +1279,7 @@ void Force::start_up_menu() {
12791279 if (! (buttons & TFTWING_BUTTON_RIGHT) or ! (buttons & TFTWING_BUTTON_SELECT)) {
12801280 start_timer = millis ();
12811281 delay (250 );
1282- tft.fillRect (0 , (option * 8 ) + 19 , 160 , 9 , ST7735_BLUE); // highlight active bar
1282+ tft.fillRect (0 , (( option - 12 ) * 8 ) + 19 , 160 , 9 , ST7735_BLUE); // highlight active bar
12831283 reset_settings ();
12841284 }
12851285 }
@@ -1289,7 +1289,7 @@ void Force::start_up_menu() {
12891289 start_timer = millis ();
12901290 Click ();
12911291 if ((option <= 17 ) and (option > 11 )){
1292- tft.fillRect (0 , ((option - 13 ) * 8 ) + 19 , 160 , 9 , ST7735_BLACK); // erase current bar
1292+ tft.fillRect (0 , ((option - 11 ) * 8 ) + 19 , 160 , 9 , ST7735_BLACK); // erase current bar
12931293 tft.fillRect (0 , ((option - 12 ) * 8 ) + 19 , 160 , 9 , ST7735_BLUE); // highlight active bar
12941294 }
12951295 delay (150 );
0 commit comments