Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
B200: Fix for increasing retune times
  • Loading branch information
michael-west committed Feb 5, 2016
1 parent 9858362 commit 5c97330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host/lib/usrp/b200/b200_io_impl.cpp
Expand Up @@ -294,7 +294,7 @@ boost::optional<uhd::msg_task::msg_type_t> b200_impl::handle_async_task(
{
managed_recv_buffer::sptr buff = xport->get_recv_buff();
if (not buff or buff->size() < 8)
return uhd::msg_task::msg_type_t(0, uhd::msg_task::msg_payload_t());
return boost::none;

const boost::uint32_t sid = uhd::wtohx(buff->cast<const boost::uint32_t *>()[1]);
switch (sid) {
Expand Down Expand Up @@ -358,7 +358,7 @@ boost::optional<uhd::msg_task::msg_type_t> b200_impl::handle_async_task(
default:
UHD_MSG(error) << "Got a ctrl packet with unknown SID " << sid << std::endl;
}
return uhd::msg_task::msg_type_t(0, uhd::msg_task::msg_payload_t());
return boost::none;
}

/***********************************************************************
Expand Down

0 comments on commit 5c97330

Please sign in to comment.