diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/lcd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h index 5b8c68cdc8..506036f015 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h | |||
@@ -76,7 +76,11 @@ extern void lcd_double_height (bool on); | |||
76 | #endif | 76 | #endif |
77 | #if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR) | 77 | #if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR) |
78 | 78 | ||
79 | #if defined(SIMULATOR) | ||
80 | #define LCD_WIDTH 16*11 /* Display width in pixels */ | ||
81 | #else | ||
79 | #define LCD_WIDTH 112 /* Display width in pixels */ | 82 | #define LCD_WIDTH 112 /* Display width in pixels */ |
83 | #endif | ||
80 | #define LCD_HEIGHT 64 /* Display height in pixels */ | 84 | #define LCD_HEIGHT 64 /* Display height in pixels */ |
81 | 85 | ||
82 | #define DRAW_PIXEL(x,y) lcd_framebuffer[(x)][(y)/8] |= (1<<((y)&7)) | 86 | #define DRAW_PIXEL(x,y) lcd_framebuffer[(x)][(y)/8] |= (1<<((y)&7)) |