diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-10-18 16:23:28 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-10-18 16:23:28 -0400 |
commit | f6d4c6065c0c45c166ec59e155c1cb6a49885be2 (patch) | |
tree | a31fc00c7725a2b558de0ef68fb48bb9d25309e0 /device-functions.c | |
parent | 5dad0407a8715beeb8d2bf1a61253b08421c76b4 (diff) |
wait for extended-off circuit to work (ported from 4.13)
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 3 |
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 */ |