summaryrefslogtreecommitdiff
path: root/bootloader/main-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/main-pp.c')
-rw-r--r--bootloader/main-pp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index 3cf7691870..74c66233c0 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -54,6 +54,9 @@
54#elif CONFIG_KEYPAD == SANSA_C200_PAD 54#elif CONFIG_KEYPAD == SANSA_C200_PAD
55#define BOOTLOADER_BOOT_OF BUTTON_LEFT 55#define BOOTLOADER_BOOT_OF BUTTON_LEFT
56 56
57#elif CONFIG_KEYPAD == MROBE100_PAD
58#define BOOTLOADER_BOOT_OF BUTTON_LEFT
59
57#endif 60#endif
58 61
59/* Maximum allowed firmware image size. 10MB is more than enough */ 62/* Maximum allowed firmware image size. 10MB is more than enough */
@@ -444,8 +447,11 @@ void* main(void)
444 i2c_init(); 447 i2c_init();
445 _backlight_on(); 448 _backlight_on();
446#endif 449#endif
450
451#if LCD_DEPTH > 1
447 lcd_set_foreground(LCD_WHITE); 452 lcd_set_foreground(LCD_WHITE);
448 lcd_set_background(LCD_BLACK); 453 lcd_set_background(LCD_BLACK);
454#endif
449 lcd_clear_display(); 455 lcd_clear_display();
450 456
451 if (button_hold()) 457 if (button_hold())