mirror of https://github.com/arendst/Tasmota.git
Merge pull request #13364 from curzon01/development
Fix neopool filtration speed del
This commit is contained in:
commit
13a8f5772f
|
@ -1854,7 +1854,7 @@ void CmndNeopoolFiltration(void)
|
||||||
if (value[1] >= 1 && value[1] <= 3) {
|
if (value[1] >= 1 && value[1] <= 3) {
|
||||||
// Set filtration speed first
|
// Set filtration speed first
|
||||||
NeoPoolWriteRegisterWord(MBF_PAR_FILTRATION_CONF,
|
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);
|
NeoPoolWriteRegisterWord(MBF_EXEC, 1);
|
||||||
} else {
|
} else {
|
||||||
NeopoolCmndError();
|
NeopoolCmndError();
|
||||||
|
|
Loading…
Reference in New Issue