From 7b0bd2675b7514e2292684bfe2bd647f87330727 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 18 Nov 2018 17:39:22 +0100 Subject: Add SDR temperature to RC --- src/output/Soapy.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/output/Soapy.cpp') diff --git a/src/output/Soapy.cpp b/src/output/Soapy.cpp index 36ecaa8..86ed3e0 100644 --- a/src/output/Soapy.cpp +++ b/src/output/Soapy.cpp @@ -35,6 +35,7 @@ DESCRIPTION: #include #include +#include #include #include @@ -239,6 +240,13 @@ const char* Soapy::device_name(void) const return "Soapy"; } +double Soapy::get_temperature(void) const +{ + // TODO Unimplemented + // LimeSDR exports 'lms7_temp' + return std::numeric_limits::quiet_NaN(); +} + void Soapy::transmit_frame(const struct FrameData& frame) { if (not m_device) throw runtime_error("Soapy device not set up"); -- cgit v1.2.3