Save backlight_on_high correctly.

Fixes #2750
crypto-aes
Scott Shawcroft 3 years ago
parent 78c1448764
commit 4ee6754ccd
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E
  1. 1
      shared-module/displayio/Display.c

@ -69,6 +69,7 @@ void common_hal_displayio_display_construct(displayio_display_obj_t* self,
self->auto_brightness = auto_brightness;
self->first_manual_refresh = !auto_refresh;
self->data_as_commands = data_as_commands;
self->backlight_on_high = backlight_on_high;
self->native_frames_per_second = native_frames_per_second;
self->native_ms_per_frame = 1000 / native_frames_per_second;

Loading…
Cancel
Save