aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/soft_time_ctrl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-18 14:59:36 -0800
committerJosh Blum <josh@joshknows.com>2011-01-18 14:59:36 -0800
commit8e0fbbe47b3c0b2805d2a638da7f363bee2240fd (patch)
tree40fad54b97737d5f27a917de1930b7d940ccea1c /host/lib/usrp/usrp1/soft_time_ctrl.cpp
parent24c3565f9f887045e414652edffd6b5536f8c7a5 (diff)
downloaduhd-8e0fbbe47b3c0b2805d2a638da7f363bee2240fd.tar.gz
uhd-8e0fbbe47b3c0b2805d2a638da7f363bee2240fd.tar.bz2
uhd-8e0fbbe47b3c0b2805d2a638da7f363bee2240fd.zip
usrp1: set eob on md when shutting off receiver, because we can
Diffstat (limited to 'host/lib/usrp/usrp1/soft_time_ctrl.cpp')
-rw-r--r--host/lib/usrp/usrp1/soft_time_ctrl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp1/soft_time_ctrl.cpp b/host/lib/usrp/usrp1/soft_time_ctrl.cpp
index 512327150..4d6abe218 100644
--- a/host/lib/usrp/usrp1/soft_time_ctrl.cpp
+++ b/host/lib/usrp/usrp1/soft_time_ctrl.cpp
@@ -122,6 +122,7 @@ public:
//Rewrite the sample count to clip to the requested number of samples.
if (_nsamps_remaining <= nsamps){
nsamps = _nsamps_remaining; //set nsamps, then stop
+ md.end_of_burst = true;
stream_on_off(false);
return;
}