mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-09 04:41:55 +00:00
Add second tick handler for CaptureThread.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "bitmap.hpp"
|
||||
|
||||
#include "capture_thread.hpp"
|
||||
#include "signal.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
@@ -57,7 +58,10 @@ private:
|
||||
|
||||
std::unique_ptr<CaptureThread> capture_thread;
|
||||
|
||||
SignalToken signal_token_tick_second;
|
||||
|
||||
void on_record();
|
||||
void on_tick_second();
|
||||
|
||||
void on_tuning_frequency_changed(rf::Frequency f);
|
||||
void on_lna_changed(int32_t v_db);
|
||||
|
||||
Reference in New Issue
Block a user