Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By HermannSW
#20150 I did run into the same issues.
Instead of doing any extern stuff just #include <Arduino.h> is preferable
(because that includes a lot, in correct order and includes Esp.h as well).

Hermann.