Skip to content

Commit

Permalink
Make flush_rx public (nRF24#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
soligen2010 authored and Avamander committed May 14, 2017
1 parent 6341dd0 commit 5cf138b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions RF24.h
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,13 @@ s *
*/
void openWritingPipe(uint64_t address);

/**
* Empty the receive buffer
*
* @return Current value of status register
*/
uint8_t flush_rx(void);

private:

/**
Expand Down Expand Up @@ -1079,13 +1086,6 @@ s *
*/
uint8_t read_payload(void* buf, uint8_t len);

/**
* Empty the receive buffer
*
* @return Current value of status register
*/
uint8_t flush_rx(void);

/**
* Retrieve the current status of the chip
*
Expand Down

0 comments on commit 5cf138b

Please sign in to comment.