Backlight settings bug

This commit is contained in:
Dmitry422
2026-02-08 10:16:15 +07:00
parent 30d48c112b
commit 8f248a49da
6 changed files with 33 additions and 6 deletions

View File

@@ -17,6 +17,12 @@ const NotificationMessage message_display_backlight_off = {
.data.led.value = 0x00,
};
/** Display: backlight wakeup even if its ON now */
const NotificationMessage message_display_backlight_force_on = {
.type = NotificationMessageTypeLedDisplayBacklightForceOn,
.data.led.value = 0xFF,
};
/** Display: backlight always on */
const NotificationMessage message_display_backlight_enforce_on = {
.type = NotificationMessageTypeLedDisplayBacklightEnforceOn,
@@ -259,6 +265,12 @@ const NotificationSequence sequence_display_backlight_off = {
NULL,
};
/** Display: backlight wakeup even if its ON now */
const NotificationSequence sequence_display_backlight_force_on = {
&message_display_backlight_force_on,
NULL,
};
/** Display: backlight always on lock */
const NotificationSequence sequence_display_backlight_enforce_on = {
&message_display_backlight_enforce_on,