Community
OpenEnergyMonitor

Community

Warning installing latest emonESP firmware on Huzzah


(ian) #1

Hi

Installing latest emonESP firmware on existing Huzzah using Platform.io I saw this warning.

M:\MicroProcessors\ArduinoCode\emonesptest\EmonESP>pio run
[05/17/18 17:56:15] Processing emonesp (framework: arduino; platform: espressif8266; board: esp12e)
-----------------------------------------------------------------------------------------------------------------------
Warning! `monitor_baud` option is deprecated and will be removed in the next release! Please use `monitor_speed` instead.

I am not sure who needs to know!


(Glyn Hudson) #2

Thanks! I’ve made the change :+1:


(ian) #3

Hi

Pulling the changes caused a recompile and that also threw up a couple of warnings:-

src\config.cpp: In function 'void EEPROM_write_string(int, int, String)':
src\config.cpp:121:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i<val.length()) {
^
src\emoncms.cpp: In function 'void emoncms_publish(String)':
src\emoncms.cpp:48:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < data.length(); ++i){