summaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-30 15:03:04 -0700
committerJosh Blum <josh@joshknows.com>2010-09-30 15:03:04 -0700
commitccb7adcb150ae481ce08d4e0fa32641b5aec4e6e (patch)
tree111e27a507d711f890f99ea47c57f25757482e03 /host/examples
parent507283b3d43d653bf7ff1b2aa04f3d642297c9b1 (diff)
parent790a5ac665144180cde712d46b799a115bb74e46 (diff)
downloaduhd-ccb7adcb150ae481ce08d4e0fa32641b5aec4e6e.tar.gz
uhd-ccb7adcb150ae481ce08d4e0fa32641b5aec4e6e.tar.bz2
uhd-ccb7adcb150ae481ce08d4e0fa32641b5aec4e6e.zip
Merge branch 'master' into usrp_e_next
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/test_async_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/test_async_messages.cpp b/host/examples/test_async_messages.cpp
index 4c9d18121..0a5c076ea 100644
--- a/host/examples/test_async_messages.cpp
+++ b/host/examples/test_async_messages.cpp
@@ -58,7 +58,7 @@ void test_no_async_message(uhd::usrp::single_usrp::sptr sdev){
" Got unexpected event code 0x%x.\n"
) % async_md.event_code << std::endl;
//clear the async messages
- while (dev->recv_async_msg(async_md, 0));
+ while (dev->recv_async_msg(async_md, 0)){};
}
else{
std::cout << boost::format(