summaryrefslogtreecommitdiff
path: root/nuttx/examples
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/examples')
-rw-r--r--nuttx/examples/nettest/nettest.c13
-rw-r--r--nuttx/examples/uip/main.c9
2 files changed, 0 insertions, 22 deletions
diff --git a/nuttx/examples/nettest/nettest.c b/nuttx/examples/nettest/nettest.c
index 9bcee01ff..c015696f1 100644
--- a/nuttx/examples/nettest/nettest.c
+++ b/nuttx/examples/nettest/nettest.c
@@ -102,16 +102,3 @@ int user_start(int argc, char *argv[])
return 0;
}
-
-/****************************************************************************
- * uip_log
- ****************************************************************************/
-
-void uip_log(char *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);
-}
diff --git a/nuttx/examples/uip/main.c b/nuttx/examples/uip/main.c
index eaac73a99..e78634a5a 100644
--- a/nuttx/examples/uip/main.c
+++ b/nuttx/examples/uip/main.c
@@ -208,15 +208,6 @@ int user_start(int argc, char *argv[])
return 0;
}
-void uip_log(char *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);
-}
-
#if defined(CONFIG_EXAMPLE_UIP_WEBCLIENT)
void webclient_closed(void)
{