diff options
Diffstat (limited to 'firmware/target/arm/lcd-c200_c200v2.c')
-rw-r--r-- | firmware/target/arm/lcd-c200_c200v2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/lcd-c200_c200v2.c b/firmware/target/arm/lcd-c200_c200v2.c index e713214f6f..062ed08d62 100644 --- a/firmware/target/arm/lcd-c200_c200v2.c +++ b/firmware/target/arm/lcd-c200_c200v2.c | |||
@@ -262,8 +262,11 @@ void lcd_set_contrast(int val) | |||
262 | 262 | ||
263 | void lcd_set_invert_display(bool yesno) | 263 | void lcd_set_invert_display(bool yesno) |
264 | { | 264 | { |
265 | /* TODO: Implement lcd_set_invert_display() */ | 265 | #ifdef HAVE_LCD_INVERT |
266 | lcd_send_command(R_SPEC_DISPLAY_PATTERN, yesno ? 1 : 0); | ||
267 | #else | ||
266 | (void)yesno; | 268 | (void)yesno; |
269 | #endif | ||
267 | } | 270 | } |
268 | 271 | ||
269 | #if defined(HAVE_LCD_ENABLE) | 272 | #if defined(HAVE_LCD_ENABLE) |