Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/src/backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ static int backlight_settings_load_cb(const char *name, size_t len, settings_rea

int rc = read_cb(cb_arg, &state, sizeof(state));
if (rc >= 0) {
#if CONFIG_ZMK_BACKLIGHT_ON_START
rc = zmk_backlight_update();
#else
state.on = false;
#endif // CONFIG_ZMK_BACKLIGHT_ON_START
}

return MIN(rc, 0);
Expand Down
Loading