diff --git a/esp32/include/ControllerConfiguration.h b/esp32/include/ControllerConfiguration.h index 8afcebc..d3ef8ff 100644 --- a/esp32/include/ControllerConfiguration.h +++ b/esp32/include/ControllerConfiguration.h @@ -96,7 +96,7 @@ #define FIRMWARE_BASENAME "PlantControl" #define FIRMWARE_NAME FIRMWARE_BASENAME FIRMWARE_FEATURE1 FIRMWARE_FEATURE2 -#define FIRMWARE_VERSION "2.71 HW0.10b" +#define FIRMWARE_VERSION "3.01 HW0.10b" #define MOIST_SENSOR_MAX_FRQ 5200 // 60kHz (500Hz margin) #define MOIST_SENSOR_MIN_FRQ 500 // 0.5kHz (500Hz margin) diff --git a/esp32/platformio.ini b/esp32/platformio.ini index af2722e..f878f58 100644 --- a/esp32/platformio.ini +++ b/esp32/platformio.ini @@ -9,7 +9,7 @@ ; https://docs.platformio.org/page/projectconf.html [env:esp32doit-devkit-v1] -platform = espressif32@4.2.0 +platform = espressif32@6.3.2 board = esp32doit-devkit-v1 framework = arduino build_flags = -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY diff --git a/esp32/src/MQTTUtils.cpp b/esp32/src/MQTTUtils.cpp index 7cdabfb..1041ca2 100644 --- a/esp32/src/MQTTUtils.cpp +++ b/esp32/src/MQTTUtils.cpp @@ -33,6 +33,7 @@ void log(int level, String message, int statusCode) delete logTopic; } Serial << statusCode << "@" << level << " : " << message << endl; + Serial.flush(); }