mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 23:35:47 +00:00
CC3300: Add const to pointers in arguments to wlan_connect; remove an unused function prototype
This commit is contained in:
parent
5058ed3ef4
commit
8651e0f2ca
3 changed files with 9 additions and 10 deletions
|
|
@ -194,10 +194,11 @@ void wlan_stop(void);
|
|||
*****************************************************************************/
|
||||
|
||||
#ifndef CC3000_TINY_DRIVER
|
||||
long wlan_connect(unsigned long ulSecType, char *ssid, long ssid_len,
|
||||
uint8_t *bssid, uint8_t *key, long key_len);
|
||||
long wlan_connect(unsigned long ulSecType, FAR const char *ssid,
|
||||
long ssid_len, FAR const uint8_t *bssid,
|
||||
FAR const uint8_t *key, long key_len);
|
||||
#else
|
||||
long wlan_connect(char *ssid, long ssid_len);
|
||||
long wlan_connect(FAR const char *ssid, long ssid_len);
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue