We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 615da45 commit 83be24dCopy full SHA for 83be24d
libraries/MySensors/MyRFDriverNRF24.cpp
@@ -61,6 +61,7 @@ bool MyRFDriverNRF24::available(uint8_t *to) {
61
uint8_t MyRFDriverNRF24::receive(void* data) {
62
uint8_t len = rf24->getDynamicPayloadSize();
63
rf24->read(data, len);
64
+ return len;
65
}
66
67
void MyRFDriverNRF24::powerDown() {
libraries/MySensors/MyRFDriverRF69.cpp
@@ -42,6 +42,7 @@ uint8_t MyRFDriverRF69::receive(void* data) {
42
{
43
radio->sendACK();
44
45
+ return radio->DATALEN;
46
47
48
void MyRFDriverRF69::powerDown() {
0 commit comments