galagaking / espaxa

ESP Module for controlling AXA Remote2.0
Creative Commons Zero v1.0 Universal
21 stars 9 forks source link

Will not compile in esphome 2021.10.0 #3

Closed WouterKr closed 3 years ago

WouterKr commented 3 years ago

Hi,

Hope you can help with this one. Just updated to esphome 2021.10.0 and started the update for the devices. The ones including espaxa.h will not compile. The first error given is:

In file included from src/main.cpp:43:0:
src/espaxa.h: In member function 'virtual void CustomAXA2RemoteUART::loop()':
src/espaxa.h:36:32: error: call of overloaded 'millis()' is ambiguous
     unsigned long now = millis();
                                ^

Some more errors are generated and ends with a 'FAILED' Hope you can solve this and if I can be of any help (sorry not a programmer) please let me know.

Maybe related to : https://github.com/esphome/esphome/pull/2575

Regards,

Wouter

WouterKr commented 3 years ago

Hi,

esphome has just been updated to 2021.10.1 and all seems to run ok now. (Sorry for the ticket ;-)

galagaking commented 3 years ago

Hi, indeed this is fixed and mentionend in the release notes of 10.1: Arduino global delay/millis/… symbols workaround esphome#2575 by @OttoWinter. May be wait next time rolling out dot zero software ;-). Cheers, Frank

WouterKr commented 3 years ago

Hi,

you are right ;-) I normally wait , saw the esphome problems yesterday and did not click the update button but for some reason I updated today………..

thanks for the reply, Wouter