summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-16 18:23:42 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-16 18:23:42 -0600
commitd52f998bdb14d48e9436bec77646b3e00ac59fe0 (patch)
treec961224f15c5a40fcdd49b20c1f52b4347083cce /nuttx
parent5fb28da6abfea7651ad01c7f4bd8d90839b25a58 (diff)
downloadpx4-nuttx-d52f998bdb14d48e9436bec77646b3e00ac59fe0.tar.gz
px4-nuttx-d52f998bdb14d48e9436bec77646b3e00ac59fe0.tar.bz2
px4-nuttx-d52f998bdb14d48e9436bec77646b3e00ac59fe0.zip
CC3000-related typo fixes from the last bit checked. Thanks to David Sidrane
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/include/nuttx/wireless/cc3000/cc3000_common.h2
-rw-r--r--nuttx/include/nuttx/wireless/cc3000/hci.h2
-rw-r--r--nuttx/include/nuttx/wireless/cc3000/wlan.h3
3 files changed, 3 insertions, 4 deletions
diff --git a/nuttx/include/nuttx/wireless/cc3000/cc3000_common.h b/nuttx/include/nuttx/wireless/cc3000/cc3000_common.h
index 40fef3d44..5a8e05a68 100644
--- a/nuttx/include/nuttx/wireless/cc3000/cc3000_common.h
+++ b/nuttx/include/nuttx/wireless/cc3000/cc3000_common.h
@@ -333,7 +333,7 @@ uint8_t *UINT32_TO_STREAM_f(uint8_t *p, unsigned long u32);
*
*****************************************************************************/
-uint8_t *UINT16_TO_STREAM_f(uint8_t *p, uint16_t u16)
+uint8_t *UINT16_TO_STREAM_f(uint8_t *p, uint16_t u16);
/*****************************************************************************
* Name: STREAM_TO_UINT16_f
diff --git a/nuttx/include/nuttx/wireless/cc3000/hci.h b/nuttx/include/nuttx/wireless/cc3000/hci.h
index 22b66cdee..c4e1b1689 100644
--- a/nuttx/include/nuttx/wireless/cc3000/hci.h
+++ b/nuttx/include/nuttx/wireless/cc3000/hci.h
@@ -142,7 +142,7 @@
#define HCI_EVNT_SETSOCKOPT HCI_CMND_SETSOCKOPT
#define HCI_EVNT_GETSOCKOPT HCI_CMND_GETSOCKOPT
#define HCI_EVNT_BSD_GETHOSTBYNAME HCI_CMND_GETHOSTNAME
-#define HCI_EVNT_MDNS_ADVERTISE CI_CMND_MDNS_ADVERTISE
+#define HCI_EVNT_MDNS_ADVERTISE HCI_CMND_MDNS_ADVERTISE
#define HCI_EVNT_SEND 0x1003
#define HCI_EVNT_WRITE 0x100E
diff --git a/nuttx/include/nuttx/wireless/cc3000/wlan.h b/nuttx/include/nuttx/wireless/cc3000/wlan.h
index 671d144f6..c59e26b8b 100644
--- a/nuttx/include/nuttx/wireless/cc3000/wlan.h
+++ b/nuttx/include/nuttx/wireless/cc3000/wlan.h
@@ -116,7 +116,7 @@ void wlan_init(tWlanCB sWlanCB, tFWPatches sFWPatches,
tWlanReadInteruptPin sReadWlanInterruptPin,
tWlanInterruptEnable sWlanInterruptEnable,
tWlanInterruptDisable sWlanInterruptDisable,
- tWriteWlanPin sWriteWlanPin)'
+ tWriteWlanPin sWriteWlanPin);
/*****************************************************************************
@@ -424,7 +424,6 @@ long wlan_ioctl_get_scan_results(unsigned long ulScanTimeout, uint8_t *ucResults
*
*****************************************************************************/
-#ifndef CC3000_TINY_DRIVER
long wlan_ioctl_set_scan_params(unsigned long uiEnable,
unsigned long uiMinDwellTime,
unsigned long uiMaxDwellTime,