summaryrefslogtreecommitdiffstats
path: root/src/output/Soapy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/Soapy.cpp')
-rw-r--r--src/output/Soapy.cpp8
1 files changed, 8 insertions, 0 deletions
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 <SoapySDR/Errors.hpp>
#include <chrono>
+#include <limits>
#include <cstdio>
#include <iomanip>
@@ -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<double>::quiet_NaN();
+}
+
void Soapy::transmit_frame(const struct FrameData& frame)
{
if (not m_device) throw runtime_error("Soapy device not set up");