mirror of https://github.com/arendst/Tasmota.git
Fix neopool filtration speed del
This commit is contained in:
parent
7d49b66ef9
commit
ef1e3591ca
|
@ -1854,7 +1854,7 @@ void CmndNeopoolFiltration(void)
|
|||
if (value[1] >= 1 && value[1] <= 3) {
|
||||
// Set filtration speed first
|
||||
NeoPoolWriteRegisterWord(MBF_PAR_FILTRATION_CONF,
|
||||
(filtration_conf & MBMSK_PAR_FILTRATION_CONF_DEF_SPEED) | ((value[1] - 1) << MBSHFT_PAR_FILTRATION_CONF_DEF_SPEED));
|
||||
(filtration_conf & ~MBMSK_PAR_FILTRATION_CONF_DEF_SPEED) | ((value[1] - 1) << MBSHFT_PAR_FILTRATION_CONF_DEF_SPEED));
|
||||
NeoPoolWriteRegisterWord(MBF_EXEC, 1);
|
||||
} else {
|
||||
NeopoolCmndError();
|
||||
|
|
Loading…
Reference in New Issue