summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorThomas Tsou <ttsou@vt.edu>2010-08-24 15:04:39 -0700
committerThomas Tsou <ttsou@vt.edu>2010-08-24 15:04:39 -0700
commit8c5768ae1a5c30453a120bb0bb727dda1144629e (patch)
tree1b13d439517637ad5120823255b9b7447d2ff0ac /host/lib
parent54debe30bbbc85c1cd1863d21a8e66ed4c8703e0 (diff)
downloaduhd-8c5768ae1a5c30453a120bb0bb727dda1144629e.tar.gz
uhd-8c5768ae1a5c30453a120bb0bb727dda1144629e.tar.bz2
uhd-8c5768ae1a5c30453a120bb0bb727dda1144629e.zip
usrp1: Improve debug output readability
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/usrp1/usrp1_iface.cpp3
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;
}