Skip to content

Commit 63aaef5

Browse files
authored
Merge pull request #33 from pennam/enum_fix
AT commands fix ip_type and file_op enum definitions
2 parents 7a32c2c + ac6f366 commit 63aaef5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UNOR4USBBridge/commands.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
#ifndef WIFI_COMMANDS_H
22
#define WIFI_COMMANDS_H
33

4-
enum {
4+
enum ip_type {
55
IP_ADDR = 0,
66
GATEWAY_ADDR,
77
NETMASK_ADDR,
88
DNS1_ADDR,
99
DNS2_ADDR
10-
} ip_type;
10+
};
1111

12-
enum {
12+
enum file_op {
1313
WIFI_FILE_DELETE = 0,
1414
WIFI_FILE_WRITE,
1515
WIFI_FILE_READ,
1616
WIFI_FILE_APPEND
17-
} file_op;
17+
};
1818

1919
#define _AT "AT"
2020
#define _ENDL "\r\n"

0 commit comments

Comments
 (0)