Problème d'affichage à la modification des GVARS
This commit is contained in:
+2
-2
@@ -397,11 +397,11 @@ void menuMainView(uint8_t event)
|
||||
s_warning = PSTR("Global Variable");
|
||||
displayBox();
|
||||
#if defined(M64)
|
||||
lcd_putsAtt(16+4*FW, 5*FH, PSTR("[\004]"), BOLD);
|
||||
lcd_putsAtt(16+4*FW, 5*FH, PSTR("[\010]"), BOLD);
|
||||
lcd_outdezAtt(16+4*FW+4*FW+FW/2, 5*FH, GVAR_VALUE(s_gvar_last, s_perout_flight_phase), BOLD);
|
||||
#else
|
||||
lcd_putsnAtt(16, 5*FH, g_model.gvarsNames[s_gvar_last], sizeof(gvar_name_t), ZCHAR);
|
||||
lcd_putsAtt(16+7*FW, 5*FH, PSTR("[\004]"), BOLD);
|
||||
lcd_putsAtt(16+7*FW, 5*FH, PSTR("[\010]"), BOLD);
|
||||
lcd_outdezAtt(16+7*FW+4*FW+FW/2, 5*FH, GVAR_VALUE(s_gvar_last, s_perout_flight_phase), BOLD);
|
||||
#endif
|
||||
s_warning = NULL;
|
||||
|
||||
Reference in New Issue
Block a user