ARTI-FX support 8266 (experimental!!) add soundpressure
Add ARTI-FX to esp8266_4MB_M (experimental!) Arti.h - FREE_SIZE ESP.getFreeHeap() for 8266 - define asChar(x) to print to Serial/File depending on ESP32/8266 - artiPrintf: print to USER_PRINTF (experimental) Arti_wled.h - add ARDUINO_ARCH_ESP8266 to ARTI_ARDUINO - add soundPressure usermod_v2_artifx.h: use FREE_SIZE
This commit is contained in:
@@ -339,12 +339,12 @@ class UsermodTemperature : public Usermod {
|
||||
* The function should return true if configuration was successfully loaded or false if there was no configuration.
|
||||
*/
|
||||
bool readFromConfig(JsonObject &root) {
|
||||
bool configComplete = Usermod::readFromConfig(root);
|
||||
/*bool configComplete = */Usermod::readFromConfig(root); //WLEDMM: configComplete not implemented here (todo?)
|
||||
JsonObject top = root[FPSTR(_name)];
|
||||
DEBUG_PRINT(FPSTR(_name));
|
||||
|
||||
// we look for JSON object: {"Temperature": {"pin": 0, "degC": true}}
|
||||
int8_t newTemperaturePin = temperaturePin;
|
||||
DEBUG_PRINT(FPSTR(_name));
|
||||
|
||||
if (top.isNull()) {
|
||||
DEBUG_PRINTLN(F(": No config found. (Using defaults.)"));
|
||||
|
||||
Reference in New Issue
Block a user