mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-12 08:26:38 +02:00
fix condition
This commit is contained in:
parent
f5c784f44c
commit
7a941c8882
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ void app::processPayload(bool retransmit) {
|
|||
if(!buildPayload(iv->id)) { // payload not complete
|
||||
if(mPayload[iv->id].requested) {
|
||||
if(retransmit) {
|
||||
if(iv->devControlCmd == Restart || CleanState_LockAndAlarm || iv->devControlCmd) {
|
||||
if(iv->devControlCmd == Restart || iv->devControlCmd == CleanState_LockAndAlarm ) {
|
||||
// This is required to prevent retransmissions without answer.
|
||||
DPRINTLN(DBG_INFO, F("Prevent retransmit on Restart / CleanState_LockAndAlarm..."));
|
||||
mPayload[iv->id].retransmits = mConfig.maxRetransPerPyld;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue