diff options
Diffstat (limited to 'firmware/drivers/lcd-h100-remote.c')
-rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c index c78382d9e3..868350d308 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c | |||
@@ -481,17 +481,17 @@ int lcd_remote_getstringsize(const unsigned char *str, int *w, int *h) | |||
481 | 481 | ||
482 | static void setpixel(int x, int y) | 482 | static void setpixel(int x, int y) |
483 | { | 483 | { |
484 | REMOTE_DRAW_PIXEL(x, y); | 484 | lcd_remote_framebuffer[y>>3][x] |= 1 << (y & 7); |
485 | } | 485 | } |
486 | 486 | ||
487 | static void clearpixel(int x, int y) | 487 | static void clearpixel(int x, int y) |
488 | { | 488 | { |
489 | REMOTE_CLEAR_PIXEL(x, y); | 489 | lcd_remote_framebuffer[y>>3][x] &= ~(1 << (y & 7)); |
490 | } | 490 | } |
491 | 491 | ||
492 | static void flippixel(int x, int y) | 492 | static void flippixel(int x, int y) |
493 | { | 493 | { |
494 | REMOTE_INVERT_PIXEL(x, y); | 494 | lcd_remote_framebuffer[y>>3][x] ^= 1 << (y & 7); |
495 | } | 495 | } |
496 | 496 | ||
497 | static void nopixel(int x, int y) | 497 | static void nopixel(int x, int y) |