thorrak / brewpi-esp8266

An implementation of the BrewPi device code on the ESP8266, ESP32, and ESP32-S2
GNU General Public License v3.0
86 stars 30 forks source link

Fix compiler warning #53

Closed speshak closed 4 years ago

speshak commented 4 years ago

This PR has two commits. The first fixes a rather noisy compiler warning:

warning: ISO C++ forbids converting a string constant to 'char*'

The second commit is unrelated, but was a small housekeeping change as well. My system updated to PlatformIO 5 recently, and afterwards the ESP32 build failed because of a missing library. This adds that library. (Note that I haven't tested the addition beyond getting a successful build, I don't have an ESP32 to test with.)