diff options
author | Thomas Tsou <ttsou@vt.edu> | 2010-08-24 15:04:39 -0700 |
---|---|---|
committer | Thomas Tsou <ttsou@vt.edu> | 2010-08-24 15:04:39 -0700 |
commit | 8c5768ae1a5c30453a120bb0bb727dda1144629e (patch) | |
tree | 1b13d439517637ad5120823255b9b7447d2ff0ac | |
parent | 54debe30bbbc85c1cd1863d21a8e66ed4c8703e0 (diff) | |
download | uhd-8c5768ae1a5c30453a120bb0bb727dda1144629e.tar.gz uhd-8c5768ae1a5c30453a120bb0bb727dda1144629e.tar.bz2 uhd-8c5768ae1a5c30453a120bb0bb727dda1144629e.zip |
usrp1: Improve debug output readability
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_iface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_iface.cpp b/host/lib/usrp/usrp1/usrp1_iface.cpp index e52f3d952..9d326d6bd 100644 --- a/host/lib/usrp/usrp1/usrp1_iface.cpp +++ b/host/lib/usrp/usrp1/usrp1_iface.cpp @@ -53,7 +53,8 @@ public: if (iface_debug) { std::cout.fill('0'); - std::cout << "poke32(" << std::dec << addr << ", 0x"; + std::cout << "poke32("; + std::cout << std::dec << std::setw(2) << addr << ", 0x"; std::cout << std::hex << std::setw(8) << value << ")" << std::endl; } |