Compilation fix

This commit is contained in:
Bertrand Songis
2015-11-24 22:48:16 +01:00
parent 01187e60c2
commit 765ff269f9
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -2096,6 +2096,7 @@ clean_list :
$(REMOVE) allsrc.cpp $(REMOVE) allsrc.cpp
$(REMOVE) allsimusrc.cpp $(REMOVE) allsimusrc.cpp
$(REMOVE) stamp.h $(REMOVE) stamp.h
$(REMOVE) *.lbm
$(REMOVE) bitmaps/*.lbm $(REMOVE) bitmaps/*.lbm
$(REMOVE) bitmaps/*/*.lbm $(REMOVE) bitmaps/*/*.lbm
$(REMOVE) fonts/*/*.lbm $(REMOVE) fonts/*/*.lbm
@@ -406,7 +406,7 @@ int main()
lcdClear(); lcdClear();
lcd_putsn(0, 0, (const char *)bootloaderVersion, 0); // trick to avoid bootloaderVersion to be optimized out ... lcd_putsn(0, 0, (const char *)bootloaderVersion, 0); // trick to avoid bootloaderVersion to be optimized out ...
lcd_putsLeft(0, BOOTLOADER_TITLE); lcd_putsLeft(0, BOOTLOADER_TITLE);
lcd_invert_line(0); lcdInvertLine(0);
lcdRefresh(); lcdRefresh();
keysInit(); keysInit();
@@ -430,7 +430,7 @@ int main()
lcdRefreshWait(); lcdRefreshWait();
lcdClear(); lcdClear();
lcd_putsLeft(0, BOOTLOADER_TITLE); lcd_putsLeft(0, BOOTLOADER_TITLE);
lcd_invert_line(0); lcdInvertLine(0);
uint8_t event = getEvent(); uint8_t event = getEvent();
@@ -449,7 +449,7 @@ int main()
lcd_putsLeft(2*FH, "\010Write Firmware"); lcd_putsLeft(2*FH, "\010Write Firmware");
lcd_putsLeft(3*FH, "\010Restore EEPROM"); lcd_putsLeft(3*FH, "\010Restore EEPROM");
lcd_putsLeft(4*FH, "\010Exit"); lcd_putsLeft(4*FH, "\010Exit");
lcd_invert_line(2+vpos); lcdInvertLine(2+vpos);
lcd_putsLeft(7*FH, INDENT "Or plug in a USB cable for mass storage"); lcd_putsLeft(7*FH, INDENT "Or plug in a USB cable for mass storage");
if (event == EVT_KEY_FIRST(BOOT_KEY_DOWN)) { if (event == EVT_KEY_FIRST(BOOT_KEY_DOWN)) {
vpos == 2 ? vpos = 0 : vpos = vpos+1; vpos == 2 ? vpos = 0 : vpos = vpos+1;
@@ -587,7 +587,7 @@ int main()
vpos = 0; vpos = 0;
} }
lcd_invert_line(2 + vpos); lcdInvertLine(2 + vpos);
} }
else if (state == ST_FLASH_CHECK) { else if (state == ST_FLASH_CHECK) {