summaryrefslogtreecommitdiffstats
path: root/src/output/SDRDevice.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-11-18 17:39:22 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-11-18 17:39:22 +0100
commit7b0bd2675b7514e2292684bfe2bd647f87330727 (patch)
tree73f85d7b8f9dcabbb1c71f7956fd9f8cc2096a5d /src/output/SDRDevice.h
parente84f532b9e97dc2ad53ad96cc9543a178d6f20fd (diff)
downloaddabmod-7b0bd2675b7514e2292684bfe2bd647f87330727.tar.gz
dabmod-7b0bd2675b7514e2292684bfe2bd647f87330727.tar.bz2
dabmod-7b0bd2675b7514e2292684bfe2bd647f87330727.zip
Add SDR temperature to RC
Diffstat (limited to 'src/output/SDRDevice.h')
-rw-r--r--src/output/SDRDevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/output/SDRDevice.h b/src/output/SDRDevice.h
index 9e052b0..90a1123 100644
--- a/src/output/SDRDevice.h
+++ b/src/output/SDRDevice.h
@@ -130,6 +130,8 @@ class SDRDevice {
struct frame_timestamp& ts,
double timeout_secs) = 0;
+ // Returns device temperature in degrees C or NaN if not available
+ virtual double get_temperature(void) const = 0;
// Return true if GPS and reference clock inputs are ok
virtual bool is_clk_source_ok(void) const = 0;