[SX1272] Fixed incorrect FSK/OOK modulation check
This commit is contained in:
parent
1a2d280024
commit
d7a620c8ea
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ int16_t SX1272::setDataShaping(uint8_t sh) {
|
|||
}
|
||||
|
||||
// check modulation
|
||||
if(!SX127x::_ook) {
|
||||
if(SX127x::_ook) {
|
||||
return(ERR_INVALID_MODULATION);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue