Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error duplicate define ERR_TIMEOUT when compile on esp board #53

Closed
kaebmoo opened this issue Jun 10, 2019 · 4 comments
Closed

error duplicate define ERR_TIMEOUT when compile on esp board #53

kaebmoo opened this issue Jun 10, 2019 · 4 comments

Comments

@kaebmoo
Copy link

kaebmoo commented Jun 10, 2019

error when compile on esp board.

in ThingSpeak.h
#define ERR_TIMEOUT -304 // Timeout waiting for server to respond

and in err.h (Arduino/hardware/espressif/esp32/tools/sdk/include/lwip/lwip)
#define ERR_TIMEOUT -3 /* Timeout. */

when change ERR_TIMEOUT in ThingSpeak.h to other (eg. ERR_TIMEOUT_1) can be compiled.

@jasontwinters
Copy link

Thanks for pointing that out. I'll change that in the next update.

@VictorTagayun
Copy link

any other way to solve this issue?
ERR_TIMEOUT to ERR_TIMEOUT_OTHER ??

@MNeiraN
Copy link

MNeiraN commented Apr 30, 2020

Thanks for sharing this. It saved my life !
I had the same error compiling for arduino.
In my case I'm using also the library <ESPAsyncTCP.h> that uses the same definition ERR_TIMEOUT.
Not absolutely sure if this is the problem.

@afan31
Copy link
Collaborator

afan31 commented Dec 9, 2020

This issue is addressed in v 2.0.0 of the library.

@afan31 afan31 closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants