Skip to content

Commit 5429191

Browse files
SPRESENSEjerpelea
authored andcommitted
netutils/esp8266: Fix nxstyle
Fix nxstyle. Signed-off-by: SPRESENSE <[email protected]>
1 parent 8b4a015 commit 5429191

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

include/netutils/esp8266.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@
4848

4949
typedef enum
5050
{
51-
lesp_eMODE_AP = 0,
52-
lesp_eMODE_STATION = 1,
53-
lesp_eMODE_BOTH = 2
51+
LESP_MODE_AP = 0,
52+
LESP_MODE_STATION = 1,
53+
LESP_MODE_BOTH = 2
5454
} lesp_mode_t;
5555

5656
typedef enum
5757
{
58-
lesp_eSECURITY_NONE = 0,
59-
lesp_eSECURITY_WEP,
60-
lesp_eSECURITY_WPA_PSK,
61-
lesp_eSECURITY_WPA2_PSK,
62-
lesp_eSECURITY_WPA_WPA2_PSK,
63-
lesp_eSECURITY_NBR
58+
LESP_SECURITY_NONE = 0,
59+
LESP_SECURITY_WEP,
60+
LESP_SECURITY_WPA_PSK,
61+
LESP_SECURITY_WPA2_PSK,
62+
LESP_SECURITY_WPA_WPA2_PSK,
63+
LESP_SECURITY_NBR
6464
} lesp_security_t;
6565

6666
typedef struct

netutils/esp8266/esp8266.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@ int lesp_socket(int domain, int type, int protocol)
21792179
* close socket creates with lesp_socket.
21802180
*
21812181
* Input Parameters:
2182-
* sockfd : socket indentifer.
2182+
* sockfd Socket descriptor returned by socket()
21832183
*
21842184
* Returned Value:
21852185
* A 0 on success; -1 on error.

0 commit comments

Comments
 (0)