diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-11-26 09:51:49 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-11-26 09:53:04 +0100 |
commit | 3502da409355db3e87ef9c4d6118b9cf50577521 (patch) | |
tree | 92d9f6ab27d8d37e5e3d518b181ad89d1fc33c00 /src/output/SDR.h | |
parent | 6d2083d4b700ef2edc5f4e38d4ecd9df8912a615 (diff) | |
download | dabmod-3502da409355db3e87ef9c4d6118b9cf50577521.tar.gz dabmod-3502da409355db3e87ef9c4d6118b9cf50577521.tar.bz2 dabmod-3502da409355db3e87ef9c4d6118b9cf50577521.zip |
Move USRP GPSDO and time handling into separate class
Diffstat (limited to 'src/output/SDR.h')
-rw-r--r-- | src/output/SDR.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/output/SDR.h b/src/output/SDR.h index 5593ce3..d3693da 100644 --- a/src/output/SDR.h +++ b/src/output/SDR.h @@ -70,6 +70,7 @@ class SDR : public ModOutput, public RemoteControllable { void stop(void); void process_thread_entry(void); void handle_frame(struct FrameData &frame); + void sleep_through_frame(void); SDRDeviceConfig& m_config; @@ -87,6 +88,9 @@ class SDR : public ModOutput, public RemoteControllable { bool last_tx_time_initialised = false; uint32_t last_tx_second = 0; uint32_t last_tx_pps = 0; + + struct timespec time_last_frame; + }; } |