Minor build fixes (#4142)
* [480x272] Fix compiler warnings with awkward extern define in layout.h. * [firmware][misc] Fix build error with undefined SPLASH; Fix 128x64 syntax error in model_setup.cpp; Fix compiler warning on static init in diskio.cpp. * [480x272] Revert "Fix compiler warnings with awkward extern define in layout.h." and modify lcd::drawSource() to use mixsrc_t for consistency. This reverts commit d85d994c877a94c1933c6ece806565ca822d0f54. * [firmware] Cleanup struct init in diskio modules.
This commit is contained in:
committed by
Bertrand Songis
parent
143f5ce05e
commit
a2e37c5dbc
@@ -1175,7 +1175,7 @@ void menuModelFailsafe(event_t event)
|
||||
#if defined(PPM_UNIT_PERCENT_PREC1)
|
||||
uint8_t wbar = SLIDER_W-6;
|
||||
#else
|
||||
uint8_t wbar = SLIDER_W);
|
||||
uint8_t wbar = SLIDER_W;
|
||||
#endif
|
||||
|
||||
uint8_t xValue = x+LCD_W-4-wbar;
|
||||
|
||||
Reference in New Issue
Block a user