Removed flush after processing serial. Flush is discarding all input and output in the serial buffer, not sending data out. Discussed on IRC, was a misunderstanding in merged commit.
Disabled OPTIMIZE_JSON_OUTPUT. Caused a reset on PiLink.cpp line 581 ( JsonOutputHandlers[jsonOutputCVMap[i].handlerOffset](jsonOutputCVMap[i].key,jsonOutputCVMap[i].offset);).
Probably due to undefined handler. Small indentation fix.
Remove debug message in temp sensor init. Will spawn continous messages when sensor is not found.
Moved printing of temperature after successfull init.
Changed DEVICE_DISCONNECTED to INT_MIN
Sorry, forgot to add include of limits.h in previous commit
missing function in the json cc output code.