Skip to content

Commit 633f1a6

Browse files
committed
shared-module/aurora_epaper: small compilation error
1 parent e9c416b commit 633f1a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-module/aurora_epaper/aurora_framebuffer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ void common_hal_aurora_epaper_framebuffer_draw_line(aurora_epaper_framebuffer_ob
470470
#define DO_MAP(mapping, input) \
471471
(((mapping) >> (((input) & 0x3) << 2)) & 0xF)
472472

473-
uitn32_t pixelMap =
473+
uint32_t pixelMap =
474474
(whiteMap << 2 | whiteMap) << 0 |
475475
(whiteMap << 2 | blackMap) << 4 |
476476
(blackMap << 2 | whiteMap) << 8 |
@@ -497,7 +497,7 @@ void common_hal_aurora_epaper_framebuffer_draw_line(aurora_epaper_framebuffer_ob
497497

498498
common_hal_busio_spi_write(self->bus, &b, 1);
499499

500-
uint8_t b = (uint8_t)(
500+
b = (uint8_t)(
501501
(DO_MAP(pixelMap, p >> 2) << 4) |
502502
(DO_MAP(pixelMap, p >> 0)) << 0);
503503

0 commit comments

Comments
 (0)