[SX128x] Fixed incorrect status code
This commit is contained in:
parent
7c9f422e0c
commit
f8c9b5d03a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue