[SX126x] Fixed forgotten SPI write command
This commit is contained in:
parent
60bd3d6440
commit
02d6062f09
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ int16_t SX126x::transmitDirect(uint32_t frf) {
|
||||||
|
|
||||||
// start transmitting
|
// start transmitting
|
||||||
uint8_t data[] = {RADIOLIB_SX126X_CMD_NOP};
|
uint8_t data[] = {RADIOLIB_SX126X_CMD_NOP};
|
||||||
return(SPIwriteCommand(RADIOLIB_SX126X_CMD_SET_TX_CONTINUOUS_WAVE, data, 1));
|
return(_mod->SPIwriteStream(RADIOLIB_SX126X_CMD_SET_TX_CONTINUOUS_WAVE, data, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t SX126x::receiveDirect() {
|
int16_t SX126x::receiveDirect() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue