From b06ca6852625b9b0f2c698e30ab4945fedf1e460 Mon Sep 17 00:00:00 2001 From: Yury Sannikov Date: Wed, 26 May 2021 12:47:34 +0300 Subject: [PATCH] reset current command pointer --- tasmota/xsns_69_opentherm_protocol.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/xsns_69_opentherm_protocol.ino b/tasmota/xsns_69_opentherm_protocol.ino index a341cfa10..ce103ce3d 100644 --- a/tasmota/xsns_69_opentherm_protocol.ino +++ b/tasmota/xsns_69_opentherm_protocol.ino @@ -441,6 +441,7 @@ void sns_opentherm_dump_telemetry() void sns_opentherm_protocol_reset() { + sns_opentherm_current_command = SNS_OT_COMMANDS_COUNT; for (int i = 0; i < SNS_OT_COMMANDS_COUNT; ++i) { struct OpenThermCommandT *cmd = &sns_opentherm_commands[i];