kopia lustrzana https://github.com/jgromes/RadioLib
[SX1272] Fixed incorrect FSK/OOK modulation check
rodzic
1a2d280024
commit
d7a620c8ea
|
@ -273,7 +273,7 @@ int16_t SX1272::setDataShaping(uint8_t sh) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// check modulation
|
// check modulation
|
||||||
if(!SX127x::_ook) {
|
if(SX127x::_ook) {
|
||||||
return(ERR_INVALID_MODULATION);
|
return(ERR_INVALID_MODULATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue