diff options
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 1255516b51..d464e30f0a 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 | ||
372 | static void setpixel(int x, int y) | 372 | static void setpixel(int x, int y) |
373 | { | 373 | { |
374 | lcd_framebuffer[y/8][x] |= 1 << (y & 7); | 374 | DRAW_PIXEL(x, y); |
375 | } | 375 | } |
376 | 376 | ||
377 | static void clearpixel(int x, int y) | 377 | static void clearpixel(int x, int y) |
378 | { | 378 | { |
379 | lcd_framebuffer[y/8][x] &= ~(1 << (y & 7)); | 379 | CLEAR_PIXEL(x, y); |
380 | } | 380 | } |
381 | 381 | ||
382 | static void flippixel(int x, int y) | 382 | static void flippixel(int x, int y) |
383 | { | 383 | { |
384 | lcd_framebuffer[y/8][x] ^= 1 << (y & 7); | 384 | INVERT_PIXEL(x, y); |
385 | } | 385 | } |
386 | 386 | ||
387 | static void nopixel(int x, int y) | 387 | static void nopixel(int x, int y) |