mirror of
https://github.com/esp8266/Arduino.git
synced 2025-05-05 07:24:48 +03:00
fix espconn and err_t (#5392)
This commit is contained in:
parent
c6777149a8
commit
4f86a68b56
@ -29,7 +29,12 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef sint8 err_t;
|
//typedef sint8 err_t;
|
||||||
|
// err_t has been redefined by espressif,
|
||||||
|
// use autogenerated <lwip-err-t.h> to define LWIP_ERR_T,
|
||||||
|
// this is compatible with both versions of lwIP.
|
||||||
|
#include <../../lwip2/include/lwip-err-t.h>
|
||||||
|
#include <lwip/err.h>
|
||||||
|
|
||||||
typedef void *espconn_handle;
|
typedef void *espconn_handle;
|
||||||
typedef void (* espconn_connect_callback)(void *arg);
|
typedef void (* espconn_connect_callback)(void *arg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user