From ecd32ece231d1fa709ad28cc4cf0d082af1db1c9 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Tue, 20 Feb 2018 09:45:14 -0800 Subject: fixup! rfnoc: Refactor radio_ctrl_impl, remove some Boost --- host/lib/rfnoc/radio_ctrl_impl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'host') 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 = -- cgit v1.2.3