This commit is contained in:
bsongis
2015-06-18 19:11:07 +02:00
parent f4e0518cd9
commit 5d2a04467c
+1 -1
View File
@@ -388,7 +388,7 @@ DurationAndDelayProcessing:
if (context.timerState == SWITCH_START) {
// set delay timer
context.timerState = SWITCH_DELAY;
context.timer = ls->delay;
context.timer = (ls->func == LS_FUNC_EDGE ? 0 : ls->delay);
}
if (context.timerState == SWITCH_DELAY) {