mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
TuyaMcu: Disable fast reset in low power devices
Battery powered devices don't stay up for long which could lead to reset.
This commit is contained in:
parent
8a0765a67b
commit
3d7e122d34
@ -610,6 +610,7 @@ bool TuyaModuleSelected(void)
|
|||||||
|
|
||||||
if (TuyaGetDpId(TUYA_MCU_FUNC_LOWPOWER_MODE) != 0) {
|
if (TuyaGetDpId(TUYA_MCU_FUNC_LOWPOWER_MODE) != 0) {
|
||||||
Tuya.low_power_mode = true;
|
Tuya.low_power_mode = true;
|
||||||
|
Settings.flag3.fast_power_cycle_disable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateDevices();
|
UpdateDevices();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user