aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Dexter.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-01 13:48:11 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-01 13:48:11 +0100
commit4f1f002ffad12144237352ad096353b8872171be (patch)
tree253855f0fdb21e5e4af4c9d9227d0ac1a31fd3e4 /src/output/Dexter.h
parentd2c8a1f40be73417964523e5a942d7d4c558e967 (diff)
downloaddabmod-4f1f002ffad12144237352ad096353b8872171be.tar.gz
dabmod-4f1f002ffad12144237352ad096353b8872171be.tar.bz2
dabmod-4f1f002ffad12144237352ad096353b8872171be.zip
Remove dexter timestamp_state_t
Diffstat (limited to 'src/output/Dexter.h')
-rw-r--r--src/output/Dexter.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/output/Dexter.h b/src/output/Dexter.h
index a3c827b..36d0ef7 100644
--- a/src/output/Dexter.h
+++ b/src/output/Dexter.h
@@ -83,6 +83,10 @@ class Dexter : public Output::SDRDevice
virtual double get_temperature() const override;
private:
+
+ void channel_up();
+ void channel_down();
+
SDRDeviceConfig& m_conf;
struct iio_context* m_ctx = nullptr;
@@ -108,14 +112,6 @@ class Dexter : public Output::SDRDevice
uint64_t m_utc_seconds_at_startup;
uint64_t m_clock_count_at_startup = 0;
uint64_t m_clock_count_frame = 0;
-
- enum class timestamp_state_t {
- REQUIRES_SET,
- STREAMING,
- WAIT_FOR_UNDERRUN,
- };
-
- timestamp_state_t timestamp_state = timestamp_state_t::REQUIRES_SET;
};
} // namespace Output