Ignore SH1107 quirk if not 1bpp
This commit is contained in:
parent
bf0e1fafa9
commit
030d5fefa0
|
@ -74,7 +74,7 @@ void common_hal_displayio_display_construct(displayio_display_obj_t *self,
|
|||
self->first_manual_refresh = !auto_refresh;
|
||||
self->data_as_commands = data_as_commands;
|
||||
self->backlight_on_high = backlight_on_high;
|
||||
self->SH1107_addressing = SH1107_addressing;
|
||||
self->SH1107_addressing = SH1107_addressing && color_depth == 1;
|
||||
|
||||
self->native_frames_per_second = native_frames_per_second;
|
||||
self->native_ms_per_frame = 1000 / native_frames_per_second;
|
||||
|
|
Loading…
Reference in New Issue