diff options
Diffstat (limited to 'nuttx/examples/nettest/nettest.h')
-rw-r--r-- | nuttx/examples/nettest/nettest.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/nuttx/examples/nettest/nettest.h b/nuttx/examples/nettest/nettest.h index 318211e79..4805c8f9a 100644 --- a/nuttx/examples/nettest/nettest.h +++ b/nuttx/examples/nettest/nettest.h @@ -69,15 +69,9 @@ # define errno *get_errno_ptr() - /* If debug is enabled, use the synchronous lib_lowprintf so that the - * program output does not get disassociated in the debug output. - */ - -# ifdef CONFIG_DEBUG -# define message(...) lib_lowprintf(__VA_ARGS__) -# else -# define message(...) printf(__VA_ARGS__) -# endif + /* Used lib_rawprintf() so that there is not confusion from buffered IO */ + +# define message(...) lib_rawprintf(__VA_ARGS__) /* At present, uIP does only abortive disconnects */ |