Ensure that CS is active and IRQ disabled when querying CCA on CC2420 (cc2420_get_cca() function). Also do a little refactoring (renamed c variable into count, and named the constant corresponding to RSSI "timeout").
Ensure that CS is active and IRQ disabled when querying CCA on CC2420 (cc2420_get_cca() function). Also do a little refactoring (renamed c variable into count, and named the constant corresponding to RSSI "timeout").