Fixed a copy/paste mistake which made it impossible to know for which NRF the missed interrupt was...

This commit is contained in:
Th3maz1ng 2021-07-21 17:11:50 +02:00
parent b8c967c4d7
commit 3a5fa64663

View File

@ -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)