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();