diff options
| -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 5b8c68c..506036f 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h @@ -76,7 +76,11 @@ extern void lcd_double_height (bool on); #endif #if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR) +#if defined(SIMULATOR) +#define LCD_WIDTH 16*11 /* Display width in pixels */ +#else #define LCD_WIDTH 112 /* Display width in pixels */ +#endif #define LCD_HEIGHT 64 /* Display height in pixels */ #define DRAW_PIXEL(x,y) lcd_framebuffer[(x)][(y)/8] |= (1<<((y)&7)) |