hex may be more obvious

This commit is contained in:
Jeff Epler 2021-03-21 13:48:08 -05:00
parent 7229fe631d
commit c64fccbeee
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ void common_hal_bitmaptools_readinto(displayio_bitmap_t *self, pyb_file_obj_t *f
int byte_offset = x / 2;
int bit_offset = 4 * (reverse_pixels_in_element ? (1 - x % 2) : x % 2);
value = (rowdata8[byte_offset] >> bit_offset) & 15;
value = (rowdata8[byte_offset] >> bit_offset) & 0xf;
break;
}
case 8: