Fix chipSelect issue in nrf24_payloadLength function.

This commit is contained in:
kehribar 2013-08-09 18:32:20 +03:00
parent 4585bd9e39
commit e03610c0ee

View File

@ -118,6 +118,7 @@ uint8_t nrf24_payloadLength()
nrf24_csn_digitalWrite(LOW);
spi_transfer(R_RX_PL_WID);
status = spi_transfer(0x00);
nrf24_csn_digitalWrite(HIGH);
return status;
}