Fixed a copy/paste mistake which made it impossible to know for which NRF the missed interrupt was...
This commit is contained in:
parent
b8c967c4d7
commit
3a5fa64663
@ -152,7 +152,7 @@ void loop()
|
||||
if(!PCF.digitalRead(PCF8574::P0)) //IRQs are active low
|
||||
{
|
||||
if(!IRQFlag)
|
||||
Serial.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!IRQ MISSED FOR NRF 1");
|
||||
Serial.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!IRQ MISSED FOR NRF 2");
|
||||
Serial.printf("NRF 2 triggered the IRQs\n Checking why :\n");
|
||||
NRF_2.whatHappened(tx_ok, tx_fail, rx_ready);
|
||||
if(tx_ok)
|
||||
|
Loading…
Reference in New Issue
Block a user