1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-05-05 07:24:48 +03:00

fix espconn and err_t ()

This commit is contained in:
david gauchard 2018-11-29 18:17:33 +01:00 committed by GitHub
parent c6777149a8
commit 4f86a68b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,7 +29,12 @@
extern "C" {
#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_connect_callback)(void *arg);