mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Revamp rp examples
This commit is contained in:
1 parent
948b56a3ec
commit
83ba170b45
142 files changed
+769
-3721
No files matched your search
+1
-1
@@ -200,7 +200,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef MG_SET_WIFI_CONFIG
|
||||
#define MG_SET_WIFI_CONFIG(data)
|
||||
#define MG_SET_WIFI_CONFIG(ifp, driver_data)
|
||||
#endif
|
||||
|
||||
#ifndef MG_ENABLE_TCPIP_PRINT_DEBUG_STATS
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ struct mg_tcpip_driver_cyw_data {
|
||||
do { \
|
||||
static struct mg_tcpip_driver_cyw_data driver_data_; \
|
||||
static struct mg_tcpip_if mif_; \
|
||||
MG_SET_WIFI_CONFIG(&driver_data_); \
|
||||
MG_SET_WIFI_CONFIG(&mif_, &driver_data_); \
|
||||
mif_.ip = MG_TCPIP_IP; \
|
||||
mif_.mask = MG_TCPIP_MASK; \
|
||||
mif_.gw = MG_TCPIP_GW; \
|
||||
|
||||
@@ -13,7 +13,7 @@ struct mg_tcpip_driver_nxp_wifi_data {
|
||||
do { \
|
||||
static struct mg_tcpip_driver_nxp_wifi_data driver_data_; \
|
||||
static struct mg_tcpip_if mif_; \
|
||||
MG_SET_WIFI_CONFIG(&driver_data_); \
|
||||
MG_SET_WIFI_CONFIG(&mif_, &driver_data_); \
|
||||
mif_.ip = MG_TCPIP_IP; \
|
||||
mif_.mask = MG_TCPIP_MASK; \
|
||||
mif_.gw = MG_TCPIP_GW; \
|
||||
|
||||
@@ -15,7 +15,7 @@ struct mg_tcpip_driver_pico_w_data {
|
||||
do { \
|
||||
static struct mg_tcpip_driver_pico_w_data driver_data_; \
|
||||
static struct mg_tcpip_if mif_; \
|
||||
MG_SET_WIFI_CONFIG(&driver_data_); \
|
||||
MG_SET_WIFI_CONFIG(&mif_, &driver_data_); \
|
||||
mif_.ip = MG_TCPIP_IP; \
|
||||
mif_.mask = MG_TCPIP_MASK; \
|
||||
mif_.gw = MG_TCPIP_GW; \
|
||||
|
||||
@@ -14,7 +14,7 @@ struct mg_tcpip_driver_st67w6_data {
|
||||
do { \
|
||||
static struct mg_tcpip_driver_st67w6_data driver_data_; \
|
||||
static struct mg_tcpip_if mif_; \
|
||||
MG_SET_WIFI_CONFIG(&driver_data_); \
|
||||
MG_SET_WIFI_CONFIG(&mif_, &driver_data_); \
|
||||
mif_.ip = MG_TCPIP_IP; \
|
||||
mif_.mask = MG_TCPIP_MASK; \
|
||||
mif_.gw = MG_TCPIP_GW; \
|
||||
|
||||
Reference in new issue
Block a user