diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2018-02-20 09:45:14 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2018-02-20 09:45:14 -0800 |
commit | ecd32ece231d1fa709ad28cc4cf0d082af1db1c9 (patch) | |
tree | 3118aaee0f2198f189c580d84c6e9c659f9f393e /host | |
parent | 305d0e79e219b427c6425dab0715ed2132d928b8 (diff) | |
download | uhd-ecd32ece231d1fa709ad28cc4cf0d082af1db1c9.tar.gz uhd-ecd32ece231d1fa709ad28cc4cf0d082af1db1c9.tar.bz2 uhd-ecd32ece231d1fa709ad28cc4cf0d082af1db1c9.zip |
fixup! rfnoc: Refactor radio_ctrl_impl, remove some Boost
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/rfnoc/radio_ctrl_impl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/rfnoc/radio_ctrl_impl.cpp b/host/lib/rfnoc/radio_ctrl_impl.cpp index 611fcee25..c0b9a0f82 100644 --- a/host/lib/rfnoc/radio_ctrl_impl.cpp +++ b/host/lib/rfnoc/radio_ctrl_impl.cpp @@ -408,11 +408,11 @@ void radio_ctrl_impl::issue_stream_cmd( //calculate the word from flags and length const uint32_t cmd_word = 0 - | uint32_t((stream_cmd.stream_now)? 1 : 0) << 31 - | uint32_t((inst_chain)? 1 : 0) << 30 - | uint32_t((inst_reload)? 1 : 0) << 29 - | uint32_t((inst_stop)? 1 : 0) << 28 - | (inst_samps) ? stream_cmd.num_samps : ((inst_stop)? 0 : 1); + | (uint32_t((stream_cmd.stream_now)? 1 : 0) << 31) + | (uint32_t((inst_chain)? 1 : 0) << 30) + | (uint32_t((inst_reload)? 1 : 0) << 29) + | (uint32_t((inst_stop)? 1 : 0) << 28) + | ((inst_samps) ? stream_cmd.num_samps : ((inst_stop)? 0 : 1)); //issue the stream command const uint64_t ticks = |