diff options
author | Josh Blum <josh@joshknows.com> | 2010-09-28 11:11:29 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-09-28 11:11:29 -0700 |
commit | 071c4d4226d9cbeb1f1f67139261b13205816d8a (patch) | |
tree | 6593df48a731cb6bff687822b284fcba649cf6f6 /host/examples | |
parent | f5bdb7ccb39ef23d4b2c0872fe410e9d5d031958 (diff) | |
parent | 852f5c5f7b31bfb2e7561a86ca9f5380bd53d130 (diff) | |
download | uhd-071c4d4226d9cbeb1f1f67139261b13205816d8a.tar.gz uhd-071c4d4226d9cbeb1f1f67139261b13205816d8a.tar.bz2 uhd-071c4d4226d9cbeb1f1f67139261b13205816d8a.zip |
Merge branch 'master' into libusb
Diffstat (limited to 'host/examples')
-rw-r--r-- | host/examples/test_async_messages.cpp | 2 |
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( |