diff --git a/examples/arduino/w5500-http/mongoose_config.h b/examples/arduino/w5500-http/mongoose_config.h index 5dec7d0a..dc8f7b61 100644 --- a/examples/arduino/w5500-http/mongoose_config.h +++ b/examples/arduino/w5500-http/mongoose_config.h @@ -11,6 +11,7 @@ #define MG_ENABLE_SOCKET 0 #define MG_ENABLE_TCPIP 1 #define MG_ENABLE_DRIVER_W5500 1 +#define MG_ENABLE_TCPIP_DRIVER_INIT 0 #define mkdir(a, b) (-1) #define MG_IO_SIZE 128 //#define MG_ENABLE_LOG 0 diff --git a/examples/arduino/w5500-mqtt/mongoose_config.h b/examples/arduino/w5500-mqtt/mongoose_config.h index 5abe0440..2a74d06b 100644 --- a/examples/arduino/w5500-mqtt/mongoose_config.h +++ b/examples/arduino/w5500-mqtt/mongoose_config.h @@ -11,6 +11,7 @@ #define MG_ENABLE_SOCKET 0 #define MG_ENABLE_TCPIP 1 #define MG_ENABLE_DRIVER_W5500 1 +#define MG_ENABLE_TCPIP_DRIVER_INIT 0 #define mkdir(a, b) (-1) #define MG_IO_SIZE 512 //#define MG_ENABLE_LOG 0 diff --git a/mongoose.h b/mongoose.h index 5a68c8d9..3b137349 100644 --- a/mongoose.h +++ b/mongoose.h @@ -3053,9 +3053,6 @@ struct mg_tcpip_driver_tm4c_data { #if MG_ENABLE_TCPIP && defined(MG_ENABLE_DRIVER_W5500) && MG_ENABLE_DRIVER_W5500 -#undef MG_ENABLE_TCPIP_DRIVER_INIT -#define MG_ENABLE_TCPIP_DRIVER_INIT 0 - #endif