Respect m_flags.skip in OpenTherm polling.

This commit is contained in:
Attila Balogh 2022-09-21 00:58:56 +02:00
parent e1f5390c32
commit d48283ca30
1 changed files with 1 additions and 1 deletions

View File

@ -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];
// 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
return cmd->m_ot_make_request(cmd, boilerStatus);