From cee47a71aad207b591b3a090d0ecf24f1ff0e126 Mon Sep 17 00:00:00 2001 From: "l.lefebvre" Date: Tue, 3 Sep 2013 18:03:36 +0200 Subject: [PATCH] Remove powerDown() from write command. Remove powerDown() from write command. Now, we can use Power On/Off from user application. Necessary because XTAL startup time is not the same for every NRF board.PowerUp can take more than 1 ms (see 6.1.7 "Tpd2stdby" in nRF24L01+ product specification). For my test on Olimex MOD-24LR module delayMicroseconds(150) after PowerUp on startWrite is too short and write don't work. It's difficult to have an optimized value for every case. So, it's probably better to do this on user app. --- RF24.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/RF24.cpp b/RF24.cpp index 9471583d..02761d3a 100644 --- a/RF24.cpp +++ b/RF24.cpp @@ -494,9 +494,6 @@ bool RF24::write( const void* buf, uint8_t len ) // Yay, we are done. - // Power down - powerDown(); - // Flush buffers (Is this a relic of past experimentation, and not needed anymore??) flush_tx();