[Taranis] "BOOT" string was optimized out from the bootloader!
This commit is contained in:
@@ -403,6 +403,7 @@ int main()
|
||||
backlightInit();
|
||||
|
||||
lcd_clear();
|
||||
lcd_putsn(0, 0, (const char *)bootloaderVersion, 0); // trick to avoid bootloaderVersion to be optimized out ...
|
||||
lcd_putsLeft(0, BOOTLOADER_TITLE);
|
||||
lcd_invert_line(0);
|
||||
lcdRefresh();
|
||||
|
||||
@@ -222,6 +222,7 @@ void eepromWaitEepromStandbyState(void)
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(BOOT)
|
||||
void setVolume(uint8_t volume)
|
||||
{
|
||||
if (volume > VOLUME_LEVEL_MAX) {
|
||||
@@ -248,6 +249,7 @@ void setVolume(uint8_t volume)
|
||||
|
||||
I2C_GenerateSTOP(I2C, ENABLE);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
uint8_t I2C_read_volume()
|
||||
|
||||
Reference in New Issue
Block a user