mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-27 12:49:01 +08:00
allow auto driver init
This commit is contained in:
parent
1f481cbe54
commit
9fcc398540
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user