diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-03-06 00:56:36 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-06 09:53:21 +0100 |
commit | f7d1be714b91fcc12e56c8fa78c702e75a733019 (patch) | |
tree | 4e8ab860114eaf0e7f3b81aa1c7fa9aa73ad49b9 /src/flash/ocl | |
parent | c6e323b9838254b338310ec165a5345635c5d177 (diff) | |
download | openocd_libswd-f7d1be714b91fcc12e56c8fa78c702e75a733019.tar.gz openocd_libswd-f7d1be714b91fcc12e56c8fa78c702e75a733019.tar.bz2 openocd_libswd-f7d1be714b91fcc12e56c8fa78c702e75a733019.tar.xz openocd_libswd-f7d1be714b91fcc12e56c8fa78c702e75a733019.zip |
CFI: review print of Voltage values
JEDEC standard reports Vpp integer part encoded as 4 bit HEX value.
To print it using decimal digits, %u is required.
Other voltage values are coded as BCD, so %x is appropriate.
Code already prints one nibble at a time, so no need for field width
and precision in format string.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/flash/ocl')
0 files changed, 0 insertions, 0 deletions