[SX128x] Fixed incorrect status code

This commit is contained in:
jgromes 2020-04-09 09:58:35 +02:00
parent 7c9f422e0c
commit f8c9b5d03a

View file

@ -604,7 +604,7 @@ int16_t SX128x::setBitRate(uint16_t br) {
} else if(br == 2000) { } else if(br == 2000) {
_br = SX128X_BLE_GFSK_BR_2_000_BW_2_4; _br = SX128X_BLE_GFSK_BR_2_000_BW_2_4;
} else { } else {
return(ERR_INVALID_BIT_RANGE); return(ERR_INVALID_BIT_RATE);
} }
// update modulation parameters // update modulation parameters