Commit 0ddec525 authored by TMRh20's avatar TMRh20

Forgot to move startFastWrite to public

for use in wireless audio sketch, needed to move startWrite() to a
public function
parent 1cc7454d
...@@ -66,22 +66,6 @@ protected: ...@@ -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 * Set chip select pin
* *
...@@ -395,6 +379,22 @@ public: ...@@ -395,6 +379,22 @@ public:
bool txStandBy(); bool txStandBy();
bool txStandBy(bool block); 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 * Test whether there are bytes available to be read
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment