summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-h100-remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-h100-remote.c')
-rw-r--r--firmware/drivers/lcd-h100-remote.c6
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
482static void setpixel(int x, int y) 482static 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
487static void clearpixel(int x, int y) 487static 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
492static void flippixel(int x, int y) 492static 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
497static void nopixel(int x, int y) 497static void nopixel(int x, int y)