Skip to content

Commit 0ddec52

Browse files
committed
Forgot to move startFastWrite to public
for use in wireless audio sketch, needed to move startWrite() to a public function
1 parent 1cc7454 commit 0ddec52

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

RF24.h

+16-16
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,6 @@ class RF24
6666
*/
6767
/**@{*/
6868

69-
/**
70-
* Non-blocking write to the open writing pipe used for buffered writes
71-
*
72-
* @note Optimization: This function now leaves the CE pin high, so the radio
73-
* will remain in TX or STANDBY-II Mode until a txStandBy() command is issued.
74-
* This allows the chip to be used to its full potential in TX mode.
75-
*
76-
* @see writeFast()
77-
* @see writeBlocking()
78-
*
79-
* @param buf Pointer to the data to be sent
80-
* @param len Number of bytes to be sent
81-
* @return True if the payload was delivered successfully false if not
82-
*/
83-
void startFastWrite( const void* buf, uint8_t len );
84-
8569
/**
8670
* Set chip select pin
8771
*
@@ -395,6 +379,22 @@ class RF24
395379
bool txStandBy();
396380
bool txStandBy(bool block);
397381

382+
/**
383+
* Non-blocking write to the open writing pipe used for buffered writes
384+
*
385+
* @note Optimization: This function now leaves the CE pin high, so the radio
386+
* will remain in TX or STANDBY-II Mode until a txStandBy() command is issued.
387+
* This allows the chip to be used to its full potential in TX mode.
388+
*
389+
* @see writeFast()
390+
* @see writeBlocking()
391+
*
392+
* @param buf Pointer to the data to be sent
393+
* @param len Number of bytes to be sent
394+
* @return True if the payload was delivered successfully false if not
395+
*/
396+
void startFastWrite( const void* buf, uint8_t len );
397+
398398
/**
399399
* Test whether there are bytes available to be read
400400
*

0 commit comments

Comments
 (0)