mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
CC3220: WiFi, basic networking support
PUBLISHED_FROM=db89a45a536f0234d6d5cf740354c0dbeeff1f26
This commit is contained in:
1 parent
202300952c
commit
eb5645241c
1 file changed
+4
-2
+4
-2
@@ -1241,7 +1241,8 @@ int sl_set_ssl_opts(struct mg_connection *nc);
|
|||||||
#define SlDeviceVersion_t SlVersionFull
|
#define SlDeviceVersion_t SlVersionFull
|
||||||
#define sl_DeviceGet sl_DevGet
|
#define sl_DeviceGet sl_DevGet
|
||||||
#define SL_DEVICE_GENERAL SL_DEVICE_GENERAL_CONFIGURATION
|
#define SL_DEVICE_GENERAL SL_DEVICE_GENERAL_CONFIGURATION
|
||||||
#define SL_DEV_GET_LEN_TYPE _u8
|
#define SL_LEN_TYPE _u8
|
||||||
|
#define SL_OPT_TYPE _u8
|
||||||
|
|
||||||
#else /* SL_MAJOR_VERSION_NUM >= 2 */
|
#else /* SL_MAJOR_VERSION_NUM >= 2 */
|
||||||
|
|
||||||
@@ -1250,7 +1251,8 @@ int sl_set_ssl_opts(struct mg_connection *nc);
|
|||||||
#define SL_FI_FILE_SIZE(fi) ((fi).Len)
|
#define SL_FI_FILE_SIZE(fi) ((fi).Len)
|
||||||
#define SL_FI_FILE_MAX_SIZE(fi) ((fi).MaxSize)
|
#define SL_FI_FILE_MAX_SIZE(fi) ((fi).MaxSize)
|
||||||
|
|
||||||
#define SL_DEV_GET_LEN_TYPE _u16
|
#define SL_LEN_TYPE _u16
|
||||||
|
#define SL_OPT_TYPE _u16
|
||||||
|
|
||||||
#endif /* SL_MAJOR_VERSION_NUM < 2 */
|
#endif /* SL_MAJOR_VERSION_NUM < 2 */
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user