diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-08-22 16:16:09 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-08-22 16:16:09 -0700 |
| commit | 72e7ffa324f8184cb2d9a5ca9fa620a2a5a56b69 (patch) | |
| tree | 75d814723251baf620d10f3f433a50994aa6b193 /shared-module/displayio/OnDiskBitmap.c | |
| parent | fd8050b36956718acfc740132aa27498c24d846b (diff) | |
More cleanup
Diffstat (limited to 'shared-module/displayio/OnDiskBitmap.c')
| -rw-r--r-- | shared-module/displayio/OnDiskBitmap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shared-module/displayio/OnDiskBitmap.c b/shared-module/displayio/OnDiskBitmap.c index 10fc0c4a2..993fc03de 100644 --- a/shared-module/displayio/OnDiskBitmap.c +++ b/shared-module/displayio/OnDiskBitmap.c @@ -149,10 +149,8 @@ uint32_t common_hal_displayio_ondiskbitmap_get_pixel(displayio_ondiskbitmap_t *s if (self->bits_per_pixel == 1) { if (index == 1) { return 0xFFFFFF; - } else if (index == 0) { - return 0x000000; } else { - asm("bkpt"); + return 0x000000; } } return self->palette_data[index]; |
