mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-12 11:42:13 -04:00
Expose static EventDispatcher to stop main loop.
Used to fix reboot into HackRF firmware.
This commit is contained in:
parent
57293bc5eb
commit
c52f5fa26c
3 changed files with 6 additions and 4 deletions
|
@ -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&){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue