Problème d'affichage à la modification des GVARS

This commit is contained in:
bsongis
2012-10-23 19:26:23 +00:00
parent e4f45398df
commit 2565f22cf8
+2 -2
View File
@@ -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;