summaryrefslogtreecommitdiff
path: root/apps/examples/cc3000/board.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-09-04 09:45:59 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-09-04 09:45:59 -0600
commita2ffe6b068f3975e7574feabff0d20b368bd2f49 (patch)
tree25e2a3ee86c34dd3953b7f6b8f8feeafa62962bb /apps/examples/cc3000/board.h
parent87069eb35cb10aa7bea564a12d7bb5075fdd31e3 (diff)
downloadnuttx-a2ffe6b068f3975e7574feabff0d20b368bd2f49.tar.gz
nuttx-a2ffe6b068f3975e7574feabff0d20b368bd2f49.tar.bz2
nuttx-a2ffe6b068f3975e7574feabff0d20b368bd2f49.zip
CC3000 driver updates from Alan Carvalho de Assis
Diffstat (limited to 'apps/examples/cc3000/board.h')
-rw-r--r--apps/examples/cc3000/board.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/apps/examples/cc3000/board.h b/apps/examples/cc3000/board.h
index 2d659fabe..61976b346 100644
--- a/apps/examples/cc3000/board.h
+++ b/apps/examples/cc3000/board.h
@@ -18,16 +18,13 @@
*
****************************************************************************/
-
-
-
-
-
/*
Some things are different for the Teensy 3.0, so set a flag if we're using
that hardware.
*/
+#include <stdint.h>
+
#if defined(__arm__) && defined(CORE_TEENSY) && defined(__MK20DX128__)
#define TEENSY3 1
#endif
@@ -165,7 +162,7 @@
#define ENABLE (1)
//AES key "smartconfigAES16"
-//const unsigned char smartconfigkey[] = {0x73,0x6d,0x61,0x72,0x74,0x63,0x6f,0x6e,0x66,0x69,0x67,0x41,0x45,0x53,0x31,0x36};
+//const uint8_t smartconfigkey[] = {0x73,0x6d,0x61,0x72,0x74,0x63,0x6f,0x6e,0x66,0x69,0x67,0x41,0x45,0x53,0x31,0x36};
@@ -202,9 +199,9 @@
-extern unsigned char asyncNotificationWaiting;
+extern uint8_t asyncNotificationWaiting;
extern long lastAsyncEvent;
-extern unsigned char dhcpIPAddress[];
+extern uint8_t dhcpIPAddress[];
@@ -217,4 +214,4 @@ extern volatile unsigned long ulSmartConfigFinished,
OkToDoShutDown,
ulCC3000DHCP_configured;
-extern volatile unsigned char ucStopSmartConfig;
+extern volatile uint8_t ucStopSmartConfig;