Skip to content

Commit

Permalink
drivers/at86rf215: unexport at86rf215_block_while_busy()
Browse files Browse the repository at this point in the history
It's a private function that should not be used lightly.
  • Loading branch information
benpicco committed Apr 1, 2020
1 parent 8c6791b commit 5ed88ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion drivers/at86rf215/at86rf215.c
Expand Up @@ -237,7 +237,7 @@ static void _block_while_busy(at86rf215_t *dev)
gpio_irq_enable(dev->params.int_pin);
}

void at86rf215_block_while_busy(at86rf215_t *dev)
static void at86rf215_block_while_busy(at86rf215_t *dev)
{
if (_tx_ongoing(dev)) {
DEBUG("[at86rf215] Block while TXing\n");
Expand Down
7 changes: 0 additions & 7 deletions drivers/at86rf215/include/at86rf215_internal.h
Expand Up @@ -373,13 +373,6 @@ void at86rf215_enable_rpc(at86rf215_t *dev);
*/
bool at86rf215_switch_mode(at86rf215_t *dev, uint8_t new_mode);

/**
* @brief Block while the device is busy sending
*
* @param[in] dev device that might be TXing
*/
void at86rf215_block_while_busy(at86rf215_t *dev);

/**
* @brief Checks whether the device operates in the sub-GHz band.
*
Expand Down

0 comments on commit 5ed88ec

Please sign in to comment.