mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-16 07:41:05 +00:00
Extract BufferExchange, simplify threading.
This commit is contained in:
@@ -48,16 +48,12 @@ public:
|
||||
return config;
|
||||
}
|
||||
|
||||
static void check_fifo_isr();
|
||||
|
||||
private:
|
||||
static constexpr auto event_mask_loop_wake = EVENT_MASK(0);
|
||||
|
||||
CaptureConfig config;
|
||||
std::unique_ptr<stream::Writer> writer;
|
||||
std::function<void()> success_callback;
|
||||
std::function<void(File::Error)> error_callback;
|
||||
static Thread* thread;
|
||||
Thread* thread;
|
||||
|
||||
static msg_t static_fn(void* arg);
|
||||
|
||||
|
Reference in New Issue
Block a user