diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-04 16:31:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-04 16:31:24 +0000 |
commit | d71296f49b301d3ca8edcc6e9b79dd6b23a01c31 (patch) | |
tree | 23808398c7fcff423f580bfe5a9140788f336dc0 /nuttx/examples/nettest/nettest.c | |
parent | e77ccab049d2df5252503e01aae180e6168024fa (diff) | |
download | px4-nuttx-d71296f49b301d3ca8edcc6e9b79dd6b23a01c31.tar.gz px4-nuttx-d71296f49b301d3ca8edcc6e9b79dd6b23a01c31.tar.bz2 px4-nuttx-d71296f49b301d3ca8edcc6e9b79dd6b23a01c31.zip |
DM90x0 driver hooked into DM320
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@367 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nettest/nettest.c')
-rw-r--r-- | nuttx/examples/nettest/nettest.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/examples/nettest/nettest.c b/nuttx/examples/nettest/nettest.c index 443b555b3..1afa21182 100644 --- a/nuttx/examples/nettest/nettest.c +++ b/nuttx/examples/nettest/nettest.c @@ -46,6 +46,10 @@ #include "nettest.h" /**************************************************************************** + * Definitions + ****************************************************************************/ + +/**************************************************************************** * Private Data ****************************************************************************/ @@ -104,5 +108,9 @@ int user_start(int argc, char *argv[]) void uip_log(char *m) { - printf("uIP log message: %s\n", m); + /* Since uip_log is called from interrupt handling logic, it cannot use + * or other standard I/O. This should work from an interrupt handler: + */ + + lib_rawprintf("uIP log message: %s\n", m); } |