summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c
index 726b782..0fc1ef6 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -931,6 +931,9 @@ int Set_Output_State(int channel,int mode)
bus_setpin(OUTPUT_RELAY, 1); /* turn output on */
bus_setpin(PW_ENABLE, 1); /* enable PW circuit */
+
+ g_usleep (800e3); /* wait for extended-off circuit to work */
+
globals.Timers.last_activity_at[channel] = sec_timer();
} else {
bus_setpin(PW_ENABLE, 0); /* disable PW circuit */