[SX126x] Added missing Rx write arguments

This commit is contained in:
jgromes 2022-11-18 11:35:32 +01:00
parent 555f0216c1
commit e02b3f2ce0

View file

@ -1324,7 +1324,7 @@ int16_t SX126x::setTx(uint32_t timeout) {
int16_t SX126x::setRx(uint32_t timeout) {
uint8_t data[] = { (uint8_t)((timeout >> 16) & 0xFF), (uint8_t)((timeout >> 8) & 0xFF), (uint8_t)(timeout & 0xFF) };
return(SPIwriteCommand(RADIOLIB_SX126X_CMD_SET_RX, data, 3));
return(SPIwriteCommand(RADIOLIB_SX126X_CMD_SET_RX, data, 3, true, false));
}
int16_t SX126x::setCad() {