[Si443x] Fixed direct mode modulation (#319)

pull/321/head
jgromes 2021-06-22 20:45:39 +02:00
rodzic 6f44452b62
commit fdfd12fb55
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);
}