1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

mrf24j40: Remove rx fifo write function

This commit is contained in:
Koen Zandberg 2017-08-29 10:22:24 +02:00
parent 95a414edc1
commit c7d8c7ace5
2 changed files with 0 additions and 19 deletions

View File

@ -103,16 +103,6 @@ void mrf24j40_tx_normal_fifo_write(mrf24j40_t *dev, const uint16_t offset, const
*/
void mrf24j40_rx_fifo_read(mrf24j40_t *dev, const uint16_t offset, uint8_t *data, const size_t len);
/**
* @brief Write a chunk of data into the RX_FIFO area of the given device
*
* @param[in] dev device to write to
* @param[in] offset address in the RX FIFO to write to [valid 0x00-0x1ff]
* @param[in] data data to copy into FIFO
* @param[in] len number of bytes to write to FIFO
*/
void mrf24j40_rx_fifo_write(mrf24j40_t *dev, const uint16_t offset, const uint8_t *data, const size_t len);
/**
* @brief Reset the pending task list of a device
*

View File

@ -203,15 +203,6 @@ void mrf24j40_rx_fifo_read(mrf24j40_t *dev, const uint16_t offset, uint8_t *data
spi_release(SPIDEV);
}
void mrf24j40_rx_fifo_write(mrf24j40_t *dev, const uint16_t offset, const uint8_t *data, const size_t len)
{
uint16_t i;
for (i = 0; i < len; i++) {
mrf24j40_reg_write_long(dev, i, data[i]);
}
}
void mrf24j40_reset_tasks(mrf24j40_t *dev)
{
dev->pending = MRF24J40_TASK_TX_DONE;