diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-iaudiom3.h | 3 | ||||
-rw-r--r-- | firmware/export/lcd.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/firmware/export/config-iaudiom3.h b/firmware/export/config-iaudiom3.h index 8e4b4976f9..67415b8d19 100644 --- a/firmware/export/config-iaudiom3.h +++ b/firmware/export/config-iaudiom3.h | |||
@@ -47,6 +47,9 @@ | |||
47 | 47 | ||
48 | #define LCD_PIXELFORMAT VERTICAL_INTERLEAVED | 48 | #define LCD_PIXELFORMAT VERTICAL_INTERLEAVED |
49 | 49 | ||
50 | /* define this if only the remote has an LCD */ | ||
51 | #define HAVE_REMOTE_LCD_AS_MAIN | ||
52 | |||
50 | #define CONFIG_KEYPAD IAUDIO_M3_PAD | 53 | #define CONFIG_KEYPAD IAUDIO_M3_PAD |
51 | 54 | ||
52 | #define AB_REPEAT_ENABLE 1 | 55 | #define AB_REPEAT_ENABLE 1 |
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 474500db5f..18a28d9569 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -331,6 +331,12 @@ static inline unsigned lcd_color_to_native(unsigned color) | |||
331 | extern fb_data lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH]; | 331 | extern fb_data lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH]; |
332 | 332 | ||
333 | /** Port-specific functions. Enable in port config file. **/ | 333 | /** Port-specific functions. Enable in port config file. **/ |
334 | #ifdef HAVE_REMOTE_LCD_AS_MAIN | ||
335 | void lcd_on(void); | ||
336 | void lcd_off(void); | ||
337 | void lcd_poweroff(void); | ||
338 | #endif | ||
339 | |||
334 | #ifdef HAVE_LCD_ENABLE | 340 | #ifdef HAVE_LCD_ENABLE |
335 | /* Enable/disable the main display. */ | 341 | /* Enable/disable the main display. */ |
336 | extern void lcd_enable(bool on); | 342 | extern void lcd_enable(bool on); |