kopia lustrzana https://github.com/jgromes/RadioLib
[Si443x] Fixed direct mode modulation (#319)
rodzic
6f44452b62
commit
fdfd12fb55
|
@ -753,7 +753,7 @@ int16_t Si443x::directMode() {
|
|||
state = _mod->SPIsetRegValue(SI443X_REG_GPIO2_CONFIG, SI443X_GPIOX_TX_DATA_IN, 4, 0);
|
||||
RADIOLIB_ASSERT(state);
|
||||
|
||||
state = _mod->SPIsetRegValue(SI443X_REG_MODULATION_MODE_CONTROL_2, SI443X_MODULATION_NONE, 1, 0);
|
||||
state = _mod->SPIsetRegValue(SI443X_REG_MODULATION_MODE_CONTROL_2, SI443X_MODULATION_FSK, 1, 0);
|
||||
return(state);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue