Просмотр исходного кода

No more special handling for "UNKNOWN"

Zachary Kotlarek 13 лет назад
Родитель
Сommit
f2a7297891
1 измененных файлов с 2 добавлено и 2 удалено
  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";
 		}