Skip to content

Commit 5919c54

Browse files
authored
Merge pull request #1101 from pimoroni/patch-spectra7
spectra: Do not update on init.
2 parents f9578ae + 431d8ad commit 5919c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropython/modules/picographics/picographics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ mp_obj_t ModPicoGraphics_make_new(const mp_obj_type_t *type, size_t n_args, size
518518
}
519519

520520
// Update the LCD from the graphics library
521-
if (display != DISPLAY_INKY_FRAME && display != DISPLAY_INKY_FRAME_4 && display != DISPLAY_INKY_PACK && display != DISPLAY_INKY_FRAME_7) {
521+
if (display != DISPLAY_INKY_FRAME && display != DISPLAY_INKY_FRAME_4 && display != DISPLAY_INKY_PACK && display != DISPLAY_INKY_FRAME_7 && display != DISPLAY_INKY_FRAME_SPECTRA_7) {
522522
self->display->update(self->graphics);
523523
}
524524

0 commit comments

Comments
 (0)