flipperzero 0.16.0

Rust for Flipper Zero
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::{NotificationSequence, messages};
use crate::notification_sequence;

pub const RESET_DISPLAY: NotificationSequence =
    notification_sequence![messages::DISPLAY_BACKLIGHT_OFF];

pub const DISPLAY_BACKLIGHT_ON: NotificationSequence =
    notification_sequence![messages::DISPLAY_BACKLIGHT_ON];
pub const DISPLAY_BACKLIGHT_OFF: NotificationSequence =
    notification_sequence![messages::DISPLAY_BACKLIGHT_OFF];

pub const DISPLAY_BACKLIGHT_ENFORCE_ON: NotificationSequence =
    notification_sequence![messages::DISPLAY_BACKLIGHT_ENFORCE_ON];
pub const DISPLAY_BACKLIGHT_ENFORCE_AUTO: NotificationSequence =
    notification_sequence![messages::DISPLAY_BACKLIGHT_ENFORCE_AUTO];

pub const DISPLAY_BACKLIGHT_OFF_DELAY_1000: NotificationSequence =
    notification_sequence![messages::DELAY_1000, messages::DISPLAY_BACKLIGHT_OFF];