aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--src/output/SDRDevice.h2
-rw-r--r--src/output/Soapy.cpp1
-rw-r--r--src/output/Soapy.h2
-rw-r--r--src/output/UHD.cpp2
-rw-r--r--src/output/UHD.h2
6 files changed, 8 insertions, 3 deletions
diff --git a/TODO b/TODO
index 53932ea..8f49571 100644
--- a/TODO
+++ b/TODO
@@ -15,6 +15,8 @@ that the LimeSDR gets support for a HW timestamp that can be set from a PPS
signal. Discussion ongoing here
https://discourse.myriadrf.org/t/synchronize-two-limesdr/1714
+DPD will be possible too.
+
Move dpd port from uhd section to somewhere else.
diff --git a/src/output/SDRDevice.h b/src/output/SDRDevice.h
index 89a9856..bcd5a39 100644
--- a/src/output/SDRDevice.h
+++ b/src/output/SDRDevice.h
@@ -107,7 +107,7 @@ class SDRDevice {
size_t num_underruns;
size_t num_late_packets;
size_t num_overruns;
- size_t num_frames_modulated; //TODO increment
+ size_t num_frames_modulated;
};
virtual void tune(double lo_offset, double frequency) = 0;
diff --git a/src/output/Soapy.cpp b/src/output/Soapy.cpp
index 82c926b..44f8f58 100644
--- a/src/output/Soapy.cpp
+++ b/src/output/Soapy.cpp
@@ -255,6 +255,7 @@ void Soapy::transmit_frame(const struct FrameData& frame)
num_acc_samps += ret;
}
+ num_frames_modulated++;
}
} // namespace Output
diff --git a/src/output/Soapy.h b/src/output/Soapy.h
index 7bf0239..67b280d 100644
--- a/src/output/Soapy.h
+++ b/src/output/Soapy.h
@@ -89,7 +89,7 @@ class Soapy : public Output::SDRDevice
size_t underflows = 0;
size_t overflows = 0;
size_t late_packets = 0;
- size_t num_frames_modulated = 0; //TODO increment
+ size_t num_frames_modulated = 0;
};
} // namespace Output
diff --git a/src/output/UHD.cpp b/src/output/UHD.cpp
index dda008b..c55939f 100644
--- a/src/output/UHD.cpp
+++ b/src/output/UHD.cpp
@@ -303,6 +303,8 @@ void UHD::transmit_frame(const struct FrameData& frame)
break;
}
}
+
+ num_frames_modulated++;
}
diff --git a/src/output/UHD.h b/src/output/UHD.h
index ddcb33b..b34455c 100644
--- a/src/output/UHD.h
+++ b/src/output/UHD.h
@@ -103,7 +103,7 @@ class UHD : public Output::SDRDevice
size_t num_underflows = 0;
size_t num_overflows = 0;
size_t num_late_packets = 0;
- size_t num_frames_modulated = 0; //TODO increment
+ size_t num_frames_modulated = 0;
size_t num_underflows_previous = 0;
size_t num_late_packets_previous = 0;