mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-21 15:18:48 +00:00
Use app-local queue for messages coming from application.
Messages are now deferred until application thread call stack unwinds, events are checked.
This commit is contained in:
@@ -63,7 +63,7 @@ SystemStatusView::SystemStatusView() {
|
||||
|
||||
button_sleep.on_select = [this](ImageButton&) {
|
||||
DisplaySleepMessage message;
|
||||
EventDispatcher::send_message(&message);
|
||||
EventDispatcher::send_message(message);
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user