mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-02 23:01:47 +00:00
Expose static EventDispatcher to stop main loop.
Used to fix reboot into HackRF firmware.
This commit is contained in:
@@ -50,7 +50,7 @@ public:
|
||||
);
|
||||
|
||||
void run();
|
||||
void request_stop();
|
||||
static void request_stop();
|
||||
|
||||
void set_display_sleep(const bool sleep);
|
||||
|
||||
@@ -99,7 +99,7 @@ private:
|
||||
ui::Painter painter;
|
||||
ui::Context& context;
|
||||
uint32_t encoder_last = 0;
|
||||
bool is_running = true;
|
||||
static bool is_running;
|
||||
bool sd_card_present = false;
|
||||
bool display_sleep = false;
|
||||
bool halt = false;
|
||||
|
||||
Reference in New Issue
Block a user