summaryrefslogtreecommitdiff
path: root/apps/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-15 14:06:46 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-15 14:06:46 -0600
commit03b41638779fc9e76ca37d3637194ae470a526be (patch)
tree0657d08798b2a83dafb34fd6ed48df414ebac514 /apps/include
parent47670d9c2a85c767e675498bed522d4586aeefa1 (diff)
downloadpx4-nuttx-03b41638779fc9e76ca37d3637194ae470a526be.tar.gz
px4-nuttx-03b41638779fc9e76ca37d3637194ae470a526be.tar.bz2
px4-nuttx-03b41638779fc9e76ca37d3637194ae470a526be.zip
hex2dump: Needs to read new character at end of the loop
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/hex2bin.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/include/hex2bin.h b/apps/include/hex2bin.h
index 13fcfc8f4..aafcd10b6 100644
--- a/apps/include/hex2bin.h
+++ b/apps/include/hex2bin.h
@@ -43,7 +43,6 @@
#include <nuttx/config.h>
#include <stdint.h>
-#include <debug.h>
#ifdef CONFIG_SYSTEM_HEX2BIN
@@ -96,8 +95,7 @@
#ifdef CONFIG_CPP_HAVE_VARARGS
# ifdef CONFIG_SYSTEM_HEX2BIN_DEBUG
-# define hex2bin_debug(format, ...) \
- fprintf(stderr, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
+# define hex2bin_debug(format, ...) fprintf(stderr, format, ##__VA_ARGS__)
# else
# define lldbg(x...)
# endif