Commit f57b3830 authored by TMRh20's avatar TMRh20

Fix isAckPayloadAvailable() per @jorihardman

- Push fix to updates branch

https://github.com/TMRh20/RF24/pull/83
parent 4120b183
......@@ -1383,7 +1383,7 @@ void RF24::writeAckPayload(uint8_t pipe, const void* buf, uint8_t len)
bool RF24::isAckPayloadAvailable(void)
{
return ! read_register(FIFO_STATUS) & _BV(RX_EMPTY);
return ! (read_register(FIFO_STATUS) & _BV(RX_EMPTY));
}
/****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment