From 3a29d6c258cdd0bc65c22f57be50a2006e083771 Mon Sep 17 00:00:00 2001 From: lumapu Date: Wed, 20 Sep 2023 23:11:37 +0200 Subject: [PATCH] 0.7.59 small fix by rejoe2 #1170 --- src/hm/hmPayload.h | 2 +- src/hm/miPayload.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hm/hmPayload.h b/src/hm/hmPayload.h index 27ea4c31..8693cb00 100644 --- a/src/hm/hmPayload.h +++ b/src/hm/hmPayload.h @@ -127,7 +127,7 @@ class HmPayload { } } - reset(iv->id, !iv->isConnected); + reset(iv->id, !iv->isAvailable()); mPayload[iv->id].requested = true; yield(); diff --git a/src/hm/miPayload.h b/src/hm/miPayload.h index cac2973c..d809dbec 100644 --- a/src/hm/miPayload.h +++ b/src/hm/miPayload.h @@ -108,7 +108,7 @@ class MiPayload { } } - reset(iv->id, !iv->isConnected); + reset(iv->id, !iv->isAvailable()); mPayload[iv->id].requested = true; yield();