Explorar el Código

Alert on ALARM

Zachary Kotlarek hace 12 años
padre
commit
a4729640ae
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      dmx/rave.pl

+ 5 - 0
dmx/rave.pl

@@ -160,6 +160,11 @@ while (1) {
 		next;
 	}
 
+	# Alert continously on ALARM
+	if (exists($exists{'ALARM'}) && $exists{'ALARM'}) {
+		$newState = 'RED_ALERT';
+	}
+
 	# Handle effects by name
 	if (defined($EFFECTS{$newState})) {