BeyondRobotix / mavesp8266

ESP8266 WiFi Access Point and MAVLink Bridge
Other
185 stars 172 forks source link

Fix build with platformio 4.1.0 #71

Closed alteman closed 4 years ago

alteman commented 4 years ago

'F' ESP8266 macro (defined in cores/esp8266/WString.h) is undefined in mavesp8266.h to prevent conflict with lib/mavlink/mavlink_sha256.h. It is needed in ESP8266WebServer-impl.h that gets included from ESP8266WebServer.h. Reordering those fixes the build, the proper fix would be to rename 'F' in MAVLink subproject.

dogmaphobic commented 4 years ago

Thanks!