Fix another typo
This commit is contained in:
parent
0a230e6daa
commit
08a884cfb8
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ int16_t CC1101::startTransmit(const uint8_t* data, size_t len, uint8_t addr) {
|
||||||
do{
|
do{
|
||||||
fifoBytes = SPIgetRegValue(RADIOLIB_CC1101_REG_TXBYTES, 6, 0);
|
fifoBytes = SPIgetRegValue(RADIOLIB_CC1101_REG_TXBYTES, 6, 0);
|
||||||
prevFifobytes = SPIgetRegValue(RADIOLIB_CC1101_REG_TXBYTES, 6, 0);
|
prevFifobytes = SPIgetRegValue(RADIOLIB_CC1101_REG_TXBYTES, 6, 0);
|
||||||
} while (fifoBytes != prevFifobytes)
|
} while (fifoBytes != prevFifobytes);
|
||||||
|
|
||||||
//If there is room add more data to the FIFO
|
//If there is room add more data to the FIFO
|
||||||
if (fifoBytes < RADIOLIB_CC1101_FIFO_SIZE) {
|
if (fifoBytes < RADIOLIB_CC1101_FIFO_SIZE) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue