summaryrefslogtreecommitdiff
path: root/nuttx/examples
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-16 02:50:52 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-16 02:50:52 +0000
commit67cdb00d71d27289fb207e0c23e28ddbab1cb14c (patch)
treedcad9ca0db692384285b4307aba979759959e14d /nuttx/examples
parent03b7782c5fa7a9090bf10f77e231f13f6b02e474 (diff)
downloadpx4-nuttx-67cdb00d71d27289fb207e0c23e28ddbab1cb14c.tar.gz
px4-nuttx-67cdb00d71d27289fb207e0c23e28ddbab1cb14c.tar.bz2
px4-nuttx-67cdb00d71d27289fb207e0c23e28ddbab1cb14c.zip
Initial debug fixes for LPC1766 ethernet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3114 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r--nuttx/examples/nettest/nettest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/examples/nettest/nettest.c b/nuttx/examples/nettest/nettest.c
index 21dd79151..a59bccf58 100644
--- a/nuttx/examples/nettest/nettest.c
+++ b/nuttx/examples/nettest/nettest.c
@@ -1,7 +1,7 @@
/****************************************************************************
* examples/nettest/nettest.c
*
- * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -81,7 +81,7 @@ void user_initialize(void)
int user_start(int argc, char *argv[])
{
struct in_addr addr;
-#if defined(CONFIG_EXAMPLE_NETTEST_NOMAC)
+#ifdef CONFIG_EXAMPLE_NETTEST_NOMAC
uint8_t mac[IFHWADDRLEN];
#endif