summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-recorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r--firmware/drivers/lcd-recorder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index b3696d7db5..702456e42e 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -371,17 +371,17 @@ int lcd_getstringsize(const unsigned char *str, int *w, int *h)
371 371
372static void setpixel(int x, int y) 372static void setpixel(int x, int y)
373{ 373{
374 DRAW_PIXEL(x, y); 374 lcd_framebuffer[y>>3][x] |= 1 << (y & 7);
375} 375}
376 376
377static void clearpixel(int x, int y) 377static void clearpixel(int x, int y)
378{ 378{
379 CLEAR_PIXEL(x, y); 379 lcd_framebuffer[y>>3][x] &= ~(1 << (y & 7));
380} 380}
381 381
382static void flippixel(int x, int y) 382static void flippixel(int x, int y)
383{ 383{
384 INVERT_PIXEL(x, y); 384 lcd_framebuffer[y>>3][x] ^= 1 << (y & 7);
385} 385}
386 386
387static void nopixel(int x, int y) 387static void nopixel(int x, int y)