Bootloader size optimizations (#873)
This commit is contained in:
@@ -194,10 +194,12 @@ void target_display_init() {
|
||||
// Create payload
|
||||
u8g2_ClearBuffer(&fb);
|
||||
u8g2_SetDrawColor(&fb, 0x01);
|
||||
u8g2_SetFont(&fb, u8g2_font_helvB08_tf);
|
||||
u8g2_DrawXBM(&fb, 0, 64 - 50, 128, 50, I_DFU_128x50);
|
||||
#ifndef SLIM_BOOTLOADER
|
||||
u8g2_SetFont(&fb, u8g2_font_helvB08_tf);
|
||||
u8g2_DrawStr(&fb, 2, 8, "Update & Recovery Mode");
|
||||
u8g2_DrawStr(&fb, 2, 21, "DFU started");
|
||||
#endif
|
||||
// Send buffer
|
||||
u8g2_SetPowerSave(&fb, 0);
|
||||
u8g2_SendBuffer(&fb);
|
||||
|
Reference in New Issue
Block a user