Maniacbug RF24 on Nucleo STM32
Dependents: NRF24_master_slave NRF24_master_slave
Diff: RF24.cpp
- Revision:
- 5:aaff7f374e2b
- Parent:
- 4:baf3b07be1a7
--- a/RF24.cpp Thu Feb 05 01:24:17 2015 +0000 +++ b/RF24.cpp Mon Feb 09 00:01:47 2015 +0000 @@ -565,7 +565,7 @@ bool RF24::available(uint8_t* pipe_num) { - // tmr20h's code + // tmrh20's code if (!( read_register(FIFO_STATUS) & _BV(RX_EMPTY) )) { // If the caller wants the pipe number, include that @@ -576,10 +576,10 @@ return 1; } - return 0; - /* // Maniacbug's code + /* + // Maniacbug's code uint8_t status = get_status(); // Too noisy, enable if you really want lots o data!!