diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2014-02-24 08:05:18 -0800 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2014-03-27 07:45:32 -0700 |
commit | ff98c2a81623bc6ef68912583fada5d5c5a04cb2 (patch) | |
tree | 9237b3130d9cb0999f34b17167b1f8a058b78b90 /host/lib/usrp/b200 | |
parent | ea8890d52c011fa161e17129268bd369628eb603 (diff) | |
download | uhd-ff98c2a81623bc6ef68912583fada5d5c5a04cb2.tar.gz uhd-ff98c2a81623bc6ef68912583fada5d5c5a04cb2.tar.bz2 uhd-ff98c2a81623bc6ef68912583fada5d5c5a04cb2.zip |
b200: update FPGA loading percentage every 1% instead of 10%
Diffstat (limited to 'host/lib/usrp/b200')
-rw-r--r-- | host/lib/usrp/b200/b200_iface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_iface.cpp b/host/lib/usrp/b200/b200_iface.cpp index 28a32aaef..6296b6d2d 100644 --- a/host/lib/usrp/b200/b200_iface.cpp +++ b/host/lib/usrp/b200/b200_iface.cpp @@ -688,7 +688,7 @@ public: const size_t percent_before = size_t((bytes_sent*100)/file_size); bytes_sent += transfer_count; const size_t percent_after = size_t((bytes_sent*100)/file_size); - if (percent_before/10 != percent_after/10) + if (percent_before != percent_after) { UHD_MSG(status) << "\b\b\b\b" << std::setw(3) << percent_after << "%" << std::flush; } |