mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-21 17:29:33 +00:00
Expose static EventDispatcher to stop main loop.
Used to fix reboot into HackRF firmware.
This commit is contained in:
@@ -251,8 +251,8 @@ Context& SystemView::context() const {
|
||||
/* HackRFFirmwareView ****************************************************/
|
||||
|
||||
HackRFFirmwareView::HackRFFirmwareView(NavigationView& nav) {
|
||||
button_yes.on_select = [&nav](Button&){
|
||||
m4_request_shutdown();
|
||||
button_yes.on_select = [](Button&){
|
||||
EventDispatcher::request_stop();
|
||||
};
|
||||
|
||||
button_no.on_select = [&nav](Button&){
|
||||
|
Reference in New Issue
Block a user