From 3d7e122d34c584e0d318e2dd92c9ca3c6cc40d7a Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Thu, 24 Oct 2019 17:42:18 +0100 Subject: [PATCH] TuyaMcu: Disable fast reset in low power devices Battery powered devices don't stay up for long which could lead to reset. --- sonoff/xdrv_16_tuyamcu.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/sonoff/xdrv_16_tuyamcu.ino b/sonoff/xdrv_16_tuyamcu.ino index 0e983b483..f9f412968 100644 --- a/sonoff/xdrv_16_tuyamcu.ino +++ b/sonoff/xdrv_16_tuyamcu.ino @@ -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();