chore: bump OpenTherm Library

This commit is contained in:
Yurii
2024-01-19 19:42:29 +03:00
parent 335429a52e
commit ca0ef94478
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ framework = arduino
lib_deps =
bblanchon/ArduinoJson@^7.0.0
;ihormelnyk/OpenTherm Library@^1.1.4
https://github.com/Laxilef/opentherm_library/archive/refs/heads/dev.zip
https://github.com/Laxilef/opentherm_library/archive/refs/heads/fix_start_bit.zip
arduino-libraries/ArduinoMqttClient@^0.1.7
;lennarthennigs/ESP Telnet@^2.1.2
https://github.com/LennartHennigs/ESPTelnet/archive/refs/tags/2.2.zip

View File

@@ -42,6 +42,7 @@ protected:
void setup() {
Log.sinfoln(FPSTR(L_OT), F("Started. GPIO IN: %hhu, GPIO OUT: %hhu"), settings.opentherm.inPin, settings.opentherm.outPin);
ot->setMinWaitTimeForStartBit(19000); // 20ms - 5%
ot->setAfterSendRequestCallback(OpenThermTask::sendRequestCallback);
ot->setYieldCallback([this]() {
this->delay(25);