diff options
Diffstat (limited to 'firmware/drivers/lcd.c')
-rw-r--r-- | firmware/drivers/lcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index c394bfab0d..98121f4010 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c | |||
@@ -471,7 +471,7 @@ void lcd_setmargins(int x, int y) | |||
471 | */ | 471 | */ |
472 | void lcd_puts(int x, int y, char *str) | 472 | void lcd_puts(int x, int y, char *str) |
473 | { | 473 | { |
474 | #ifdef SIMULATOR | 474 | #if defined(SIMULATOR) && defined(HAVE_LCD_CHARCELLS) |
475 | /* We make the simulator truncate the string if it reaches the right edge, | 475 | /* We make the simulator truncate the string if it reaches the right edge, |
476 | as otherwise it'll wrap. The real target doesn't wrap. */ | 476 | as otherwise it'll wrap. The real target doesn't wrap. */ |
477 | 477 | ||