From 0ddec5256343186aafef9d4c653d12ace6a2e712 Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Sun, 23 Mar 2014 01:05:04 -0600 Subject: [PATCH] Forgot to move startFastWrite to public for use in wireless audio sketch, needed to move startWrite() to a public function --- RF24.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/RF24.h b/RF24.h index b31e2ea..78f5322 100644 --- a/RF24.h +++ b/RF24.h @@ -66,22 +66,6 @@ protected: */ /**@{*/ - /** - * Non-blocking write to the open writing pipe used for buffered writes - * - * @note Optimization: This function now leaves the CE pin high, so the radio - * will remain in TX or STANDBY-II Mode until a txStandBy() command is issued. - * This allows the chip to be used to its full potential in TX mode. - * - * @see writeFast() - * @see writeBlocking() - * - * @param buf Pointer to the data to be sent - * @param len Number of bytes to be sent - * @return True if the payload was delivered successfully false if not - */ - void startFastWrite( const void* buf, uint8_t len ); - /** * Set chip select pin * @@ -395,6 +379,22 @@ public: bool txStandBy(); bool txStandBy(bool block); + /** + * Non-blocking write to the open writing pipe used for buffered writes + * + * @note Optimization: This function now leaves the CE pin high, so the radio + * will remain in TX or STANDBY-II Mode until a txStandBy() command is issued. + * This allows the chip to be used to its full potential in TX mode. + * + * @see writeFast() + * @see writeBlocking() + * + * @param buf Pointer to the data to be sent + * @param len Number of bytes to be sent + * @return True if the payload was delivered successfully false if not + */ + void startFastWrite( const void* buf, uint8_t len ); + /** * Test whether there are bytes available to be read *