Forgot to move startFastWrite to public

for use in wireless audio sketch, needed to move startWrite() to a
public function
This commit is contained in:
TMRh20
2014-03-23 01:05:04 -06:00
parent 1cc7454d97
commit 0ddec52563
+16 -16
View File
@@ -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
*