libretiny icon indicating copy to clipboard operation
libretiny copied to clipboard

[esphome] millis() is ambiguous and breaks compilation when used in lambdas.

Open dbuezas opened this issue 3 years ago • 0 comments

Usage of millis() in lambdas doesn't compile due to a name collision between esphome and arduino.h.

Workaround

use esphome::millis() instead

dbuezas avatar Sep 08 '22 12:09 dbuezas