From 813f001f657c072214df0c26d8bf38e4f7fd8a7d Mon Sep 17 00:00:00 2001 From: Henrik Ekblad Date: Thu, 1 May 2014 20:51:23 +0200 Subject: [PATCH] Powerup radio if asleep when start transmitting. --- RF24.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RF24.cpp b/RF24.cpp index 000cfed..47b577a 100644 --- a/RF24.cpp +++ b/RF24.cpp @@ -677,6 +677,9 @@ void RF24::startFastWrite( const void* buf, uint8_t len, const bool multicast){ //Allows the library to pass all tests void RF24::startWrite( const void* buf, uint8_t len, const bool multicast ){ + // Powerup radio if not already alive. + powerUp(); + // Send the payload //write_payload( buf, len );