Skip to content

Commit abe3956

Browse files
committed
Fixed bug resulting in ACK problems
Even thouh auto ack was enabled we still called RF24::writeAckPayload(pipe,&pipe, 1 ); after reading a message. This probably caused radio to misbehave.
1 parent 9329626 commit abe3956

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/MySensors/MySensor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ boolean MySensor::process() {
267267

268268
uint8_t len = RF24::getDynamicPayloadSize();
269269
RF24::read(&msg, len);
270-
RF24::writeAckPayload(pipe,&pipe, 1 );
271270

272271
// Add string termination, good if we later would want to print it.
273272
msg.data[mGetLength(msg)] = '\0';

0 commit comments

Comments
 (0)