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 3830c5d commit d44ecd9Copy full SHA for d44ecd9
drivers/RF24/RF24.cpp
@@ -366,7 +366,7 @@ LOCAL uint8_t RF24_getNodeID(void)
366
LOCAL bool RF24_sanityCheck(void)
367
{
368
// detect HW defect, configuration errors or interrupted SPI line, CE disconnect cannot be detected
369
- return (RF24_readByteRegister(RF24_REG_RF_SETUP) == RF24_RF_SETUP) & (RF24_readByteRegister(
+ return (RF24_readByteRegister(RF24_REG_RF_SETUP) == RF24_RF_SETUP) && (RF24_readByteRegister(
370
RF24_REG_RF_CH) == MY_RF24_CHANNEL);
371
}
372
LOCAL int16_t RF24_getTxPowerLevel(void)
0 commit comments