diff options
| -rw-r--r-- | host/lib/usrp/b100/io_impl.cpp | 3 | ||||
| -rw-r--r-- | host/lib/usrp/e100/io_impl.cpp | 3 | ||||
| -rw-r--r-- | host/lib/usrp/usrp2/io_impl.cpp | 3 | 
3 files changed, 9 insertions, 0 deletions
| diff --git a/host/lib/usrp/b100/io_impl.cpp b/host/lib/usrp/b100/io_impl.cpp index feafd3e4a..5b2fa4686 100644 --- a/host/lib/usrp/b100/io_impl.cpp +++ b/host/lib/usrp/b100/io_impl.cpp @@ -102,6 +102,9 @@ void b100_impl::handle_async_message(managed_recv_buffer::sptr rbuf){              ( async_metadata_t::EVENT_CODE_SEQ_ERROR              | async_metadata_t::EVENT_CODE_SEQ_ERROR_IN_BURST)          ) UHD_MSG(fastpath) << "S"; +        else if (metadata.event_code & +            async_metadata_t::EVENT_CODE_TIME_ERROR +        ) UHD_MSG(fastpath) << "L";      }      else UHD_MSG(error) << "Unknown async packet" << std::endl;  } diff --git a/host/lib/usrp/e100/io_impl.cpp b/host/lib/usrp/e100/io_impl.cpp index dc090ad28..5dddeef25 100644 --- a/host/lib/usrp/e100/io_impl.cpp +++ b/host/lib/usrp/e100/io_impl.cpp @@ -142,6 +142,9 @@ void e100_impl::io_impl::handle_irq(void){              ( async_metadata_t::EVENT_CODE_SEQ_ERROR              | async_metadata_t::EVENT_CODE_SEQ_ERROR_IN_BURST)          ) UHD_MSG(fastpath) << "S"; +        else if (metadata.event_code & +            async_metadata_t::EVENT_CODE_TIME_ERROR +        ) UHD_MSG(fastpath) << "L";      }      //prepare for the next round diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp index f3a00c119..62941ac79 100644 --- a/host/lib/usrp/usrp2/io_impl.cpp +++ b/host/lib/usrp/usrp2/io_impl.cpp @@ -225,6 +225,9 @@ void usrp2_impl::io_impl::recv_pirate_loop(                      ( async_metadata_t::EVENT_CODE_SEQ_ERROR                      | async_metadata_t::EVENT_CODE_SEQ_ERROR_IN_BURST)                  ) UHD_MSG(fastpath) << "S"; +                else if (metadata.event_code & +                    async_metadata_t::EVENT_CODE_TIME_ERROR +                ) UHD_MSG(fastpath) << "L";              }              else{                  //TODO unknown received packet, may want to print error... | 
