mirror of https://github.com/arendst/Tasmota.git
Merge pull request #16610 from balogh-attila/development
Respect m_flags.skip in OpenTherm polling.
This commit is contained in:
commit
478aac4c8a
|
@ -539,7 +539,7 @@ unsigned long sns_opentherm_get_next_request(struct OT_BOILER_STATUS_T *boilerSt
|
||||||
{
|
{
|
||||||
struct OpenThermCommandT *cmd = &sns_opentherm_commands[sns_opentherm_current_command];
|
struct OpenThermCommandT *cmd = &sns_opentherm_commands[sns_opentherm_current_command];
|
||||||
// Return error if command known as not supported
|
// Return error if command known as not supported
|
||||||
if (!cmd->m_flags.notSupported)
|
if (!cmd->m_flags.notSupported && !cmd->m_flags.skip)
|
||||||
{
|
{
|
||||||
// Retrurn OT compatible request
|
// Retrurn OT compatible request
|
||||||
return cmd->m_ot_make_request(cmd, boilerStatus);
|
return cmd->m_ot_make_request(cmd, boilerStatus);
|
||||||
|
|
Loading…
Reference in New Issue