diff --git a/platformio.ini b/platformio.ini index 95cd03c..d6ceeb8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -19,15 +19,13 @@ lib_deps = SPIFFS ;freertos HTTPUpdate - ;NTPClient arduino-libraries/NTPClient ;ArduinoJson https://github.com/bblanchon/ArduinoJson.git#6.x - ;AsyncTCP me-no-dev/AsyncTCP ;https://github.com/me-no-dev/AsyncTCP.git#idf-update AsyncMqttClient-esphome - ESPAsyncWebServer-esphome + esphome/ESPAsyncWebServer-esphome ;ESP32 BLE Arduino ;-> In framework BLE ;BLE ;-> older ;U8g2 ; choose one gfx lib diff --git a/src/ble.cpp b/src/ble.cpp index c5caed6..37ac05a 100644 --- a/src/ble.cpp +++ b/src/ble.cpp @@ -166,7 +166,7 @@ class MyAdvertisedDeviceCallbacls : } ElehantWaterMeterAdvertismentB0 water_data; - if (elehant_data.parse(dev)) { + if (water_data.parse(dev)) { send_elehant_counter(now, ts, dev, water_data); } else {