Skip to content

Commit 65457a9

Browse files
committed
Update MySensorsBase.cpp
1 parent 2da8a1a commit 65457a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hardware/MySensorsBase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,8 +1099,8 @@ bool MySensorsBase::SendNodeSetCommand(const int NodeID, const int ChildID, cons
10991099
m_AckNodeID = NodeID;
11001100
m_AckChildID = ChildID;
11011101
m_AckSetType = SubType;
1102-
int repeat = 1;
1103-
int repeats = 10;
1102+
int repeat = 0;
1103+
int repeats = 2;
11041104

11051105
while ((!m_bAckReceived) and (repeat < repeats)) {
11061106
SendCommandInt(NodeID, ChildID, messageType, bUseAck, SubType, Payload);

0 commit comments

Comments
 (0)