Ver Fonte

Get out of INIT sooner

Zachary Kotlarek há 14 anos atrás
pai
commit
4de1451bcd
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      dmx/rope.pl

+ 2 - 0
dmx/rope.pl

@@ -114,6 +114,8 @@ while (1) {
 			$state = 'OFF';
 		} elsif ($state eq 'OFF' && $timeSinceUpdate < $TIMEOUT) {
 			$state = 'PAUSE';
+		} elsif ($state eq 'INIT') {
+			$state = 'OFF';
 		}
 	}