summaryrefslogtreecommitdiff
path: root/shared-module
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-04-08 10:32:54 -0700
committerScott Shawcroft <scott@tannewt.org>2020-04-08 10:32:54 -0700
commit4ee6754ccd531bb50e059e9a4d962dee5c93bae3 (patch)
tree9af475d2696b4a82c804dc35c2db89829078da8e /shared-module
parent78c144876487d21aa6f7fa97ae9482bc43246cf4 (diff)
Save backlight_on_high correctly.
Fixes #2750
Diffstat (limited to 'shared-module')
-rw-r--r--shared-module/displayio/Display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-module/displayio/Display.c b/shared-module/displayio/Display.c
index 820fbcce6..2edded927 100644
--- a/shared-module/displayio/Display.c
+++ b/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;