mirror of https://github.com/arendst/Tasmota.git
reset current command pointer
This commit is contained in:
parent
08cea20132
commit
b06ca68526
|
@ -441,6 +441,7 @@ void sns_opentherm_dump_telemetry()
|
||||||
|
|
||||||
void sns_opentherm_protocol_reset()
|
void sns_opentherm_protocol_reset()
|
||||||
{
|
{
|
||||||
|
sns_opentherm_current_command = SNS_OT_COMMANDS_COUNT;
|
||||||
for (int i = 0; i < SNS_OT_COMMANDS_COUNT; ++i)
|
for (int i = 0; i < SNS_OT_COMMANDS_COUNT; ++i)
|
||||||
{
|
{
|
||||||
struct OpenThermCommandT *cmd = &sns_opentherm_commands[i];
|
struct OpenThermCommandT *cmd = &sns_opentherm_commands[i];
|
||||||
|
|
Loading…
Reference in New Issue