From 3f6539e947e10859a81f808263d53e989e070e46 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 26 Oct 2020 09:30:50 +0100 Subject: nrf24: Add powerDown transition --- src/driver/nrf24l01.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/driver/nrf24l01.cc b/src/driver/nrf24l01.cc index 1cde2ba..bdb7d7f 100644 --- a/src/driver/nrf24l01.cc +++ b/src/driver/nrf24l01.cc @@ -128,7 +128,7 @@ void Nrf24l01::powerUp(void) // For nRF24L01+ to go from power down mode to TX or RX mode it must first pass through stand-by mode. // There must be a delay of Tpd2stby (see Table 16.) after the nRF24L01+ leaves power down mode before // the CEis set high. - Tpd2stby can be up to 5ms per the 1.0 datasheet - arch.delay_us(5); + arch.delay_ms(5); } } -- cgit v1.2.3