Explorar el Código

No more special handling for "UNKNOWN"

Zachary Kotlarek hace 13 años
padre
commit
f2a7297891
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      dmx/amplifierPower.pl

+ 2 - 2
dmx/amplifierPower.pl

@@ -104,8 +104,8 @@ while (1) {
 		}
 	}
 
-	# Set the channel mode as needed, but do not change when the mode is "UNKNOWN"
-	if ($exists{'AMPLIFIER_MODE'} ne $mode && $exists{'AMPLIFIER_MODE'} ne 'UNKNOWN') {
+	# Set the channel mode as needed
+	if ($exists{'AMPLIFIER_MODE'} ne $mode) {
 		if ($DEBUG) {
 			print STDERR 'Setting mode to: ' . $mode . "\n";
 		}