chore: Fix a bunch of compile warnings (#2748)

* chore: fix warnings for simu and firmware, part 1

* chore: fix warnings
This commit is contained in:
Malte Langermann
2022-12-05 20:41:42 +10:00
committed by GitHub
parent 7bdb32a8cd
commit d134e1a840
25 changed files with 39 additions and 38 deletions
+2
View File
@@ -544,7 +544,9 @@ void OpenTxSim::refreshDisplay()
#if !defined(COLORLCD)
FXColor offColor = isBacklightEnabled() ? BL_COLOR : FXRGB(200, 200, 200);
#if LCD_DEPTH == 1
FXColor onColor = FXRGB(0, 0, 0);
#endif
#endif
for (int x = 0; x < LCD_W; x++) {
for (int y = 0; y < LCD_H; y++) {