aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Dexter.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-03-24 10:31:24 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-03-24 10:31:24 +0100
commited8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c (patch)
tree1ad0ca394f2be41b1098c971906298c790617751 /src/output/Dexter.h
parent4b3465e0a9e79f18398819f3bd0957efc9952928 (diff)
downloaddabmod-ed8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c.tar.gz
dabmod-ed8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c.tar.bz2
dabmod-ed8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c.zip
Fix startup hiccup due to iio buffer allocation taking several seconds
Diffstat (limited to 'src/output/Dexter.h')
-rw-r--r--src/output/Dexter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/Dexter.h b/src/output/Dexter.h
index 2bd63b1..2f0524e 100644
--- a/src/output/Dexter.h
+++ b/src/output/Dexter.h
@@ -83,10 +83,11 @@ class Dexter : public Output::SDRDevice
virtual double get_temperature() const override;
private:
-
void channel_up();
void channel_down();
+ bool m_channel_is_up = false;
+
SDRDeviceConfig& m_conf;
struct iio_context* m_ctx = nullptr;