[SX1272] Fixed incorrect FSK/OOK modulation check

This commit is contained in:
jgromes 2020-08-07 17:45:39 +02:00
parent 1a2d280024
commit d7a620c8ea

View file

@ -273,7 +273,7 @@ int16_t SX1272::setDataShaping(uint8_t sh) {
}
// check modulation
if(!SX127x::_ook) {
if(SX127x::_ook) {
return(ERR_INVALID_MODULATION);
}