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:
Shantur Rathore 2019-10-24 17:42:18 +01:00
parent 8a0765a67b
commit 3d7e122d34
1 changed files with 1 additions and 0 deletions

View File

@ -610,6 +610,7 @@ bool TuyaModuleSelected(void)
if (TuyaGetDpId(TUYA_MCU_FUNC_LOWPOWER_MODE) != 0) {
Tuya.low_power_mode = true;
Settings.flag3.fast_power_cycle_disable = true;
}
UpdateDevices();