mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 05:17:37 +00:00
Give new Processor to EventDispatcher.
This commit is contained in:
@@ -36,6 +36,8 @@ constexpr auto EVT_MASK_SPECTRUM = EVENT_MASK(1);
|
||||
|
||||
class EventDispatcher {
|
||||
public:
|
||||
EventDispatcher(std::unique_ptr<BasebandProcessor> baseband_processor);
|
||||
|
||||
void run();
|
||||
void request_stop();
|
||||
|
||||
@@ -50,6 +52,7 @@ public:
|
||||
private:
|
||||
static Thread* thread_event_loop;
|
||||
|
||||
std::unique_ptr<BasebandProcessor> baseband_processor;
|
||||
|
||||
bool is_running = true;
|
||||
|
||||
|
Reference in New Issue
Block a user