Notification: backlight always on lock. Gpio: backlight always on lock in uart brige app. (#1007)
This commit is contained in:
@@ -15,6 +15,16 @@ const NotificationMessage message_display_off = {
|
||||
.data.led.value = 0x00,
|
||||
};
|
||||
|
||||
const NotificationMessage message_display_lock = {
|
||||
.type = NotificationMessageTypeLedDisplayLock,
|
||||
.data.led.value = 0xFF,
|
||||
};
|
||||
|
||||
const NotificationMessage message_display_unlock = {
|
||||
.type = NotificationMessageTypeLedDisplayLock,
|
||||
.data.led.value = 0x00,
|
||||
};
|
||||
|
||||
// Led ON
|
||||
const NotificationMessage message_red_255 = {
|
||||
.type = NotificationMessageTypeLedRed,
|
||||
@@ -188,6 +198,16 @@ const NotificationSequence sequence_display_off = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
const NotificationSequence sequence_display_lock = {
|
||||
&message_display_lock,
|
||||
NULL,
|
||||
};
|
||||
|
||||
const NotificationSequence sequence_display_unlock = {
|
||||
&message_display_unlock,
|
||||
NULL,
|
||||
};
|
||||
|
||||
// Charging
|
||||
const NotificationSequence sequence_charging = {
|
||||
&message_red_255,
|
||||
@@ -416,4 +436,4 @@ const NotificationSequence sequence_audiovisual_alert = {
|
||||
&message_sound_off,
|
||||
&message_vibro_off,
|
||||
NULL,
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user