tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.45k stars 1.94k forks source link

Remove WM_NO_TEMP compilation warning #1694

Closed PBrunot closed 1 month ago

PBrunot commented 6 months ago

WiFiManager always generates a warning on ESP32 due to missing temperature sensor.

With platformio it is not possible to configure the -Wno-cpp flag per library. I want to compile my project with -Wall -Wextra , and having a warning I cannot solve bugs me. I didn't see the point of the warning of the user of the library anyways.

This PR remove the #warning instruction.