Fixed page set mask to be four bits!

This commit is contained in:
Mark Roberts 2020-09-25 00:26:39 -04:00
parent 06a3d15266
commit 19dbff67f2
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ void displayio_display_core_set_region_to_update(displayio_display_core_t* self,
// Page address command = 0xB0
if (SH1107_addressing) {
// set the page to our x value
data[0] = 0xB0 | (x1 & 0x07);
data[0] = 0xB0 | (x1 & 0x0F);
data_length = 1;
}
self->send(self->bus, data_type, chip_select, data, data_length);