mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-01 04:19:03 +00:00
Recover from display sleep, use LCD sleep function.
This commit is contained in:
@@ -55,10 +55,7 @@ public:
|
||||
void run();
|
||||
void request_stop();
|
||||
|
||||
void set_display_sleep(bool new_value) {
|
||||
portapack::io.lcd_backlight(false);
|
||||
display_sleep = new_value;
|
||||
};
|
||||
void set_display_sleep(const bool sleep);
|
||||
|
||||
static inline void events_flag(const eventmask_t events) {
|
||||
if( thread_event_loop ) {
|
||||
|
||||
Reference in New Issue
Block a user