diff options
Diffstat (limited to 'firmware/drivers/lcd-h100-remote.c')
-rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c index 3edb27c155..bdc5799726 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c | |||
@@ -558,7 +558,7 @@ void lcd_remote_clear_display(void) | |||
558 | /* Set a single pixel */ | 558 | /* Set a single pixel */ |
559 | void lcd_remote_drawpixel(int x, int y) | 559 | void lcd_remote_drawpixel(int x, int y) |
560 | { | 560 | { |
561 | if (((unsigned)x < LCD_REMOTE_WIDTH) || ((unsigned)y < LCD_REMOTE_HEIGHT)) | 561 | if (((unsigned)x < LCD_REMOTE_WIDTH) && ((unsigned)y < LCD_REMOTE_HEIGHT)) |
562 | lcd_remote_pixelfuncs[drawmode](x, y); | 562 | lcd_remote_pixelfuncs[drawmode](x, y); |
563 | } | 563 | } |
564 | 564 | ||