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

Default to PLAY rather than LOW. Besides being generally safer we want PAUSE to maintain the color state until we hit the timeout.

Zachary Kotlarek 13 лет назад
Родитель
Сommit
e3e758aeed
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      dmx/projectorPower.pl

+ 3 - 3
dmx/projectorPower.pl

@@ -136,11 +136,11 @@ while (1) {
 	}
 	}
 
 
 	# Calculate the color mode
 	# Calculate the color mode
-	# PLAY for playback
+	# PLAY for normal playback
 	# HIGH when playing and LIGHTS
 	# HIGH when playing and LIGHTS
 	# LOW for audio, and when we're half way to the timeout (to save the bulb)
 	# LOW for audio, and when we're half way to the timeout (to save the bulb)
 	# HIGH when the GUI is up
 	# HIGH when the GUI is up
-	# LOW if we haven't figured out what else to do
+	# PLAY if we haven't figured out what else to do
 	if ($newState eq 'PLAY') {
 	if ($newState eq 'PLAY') {
 		if ($exists{'LIGHTS'}) {
 		if ($exists{'LIGHTS'}) {
 			$color = $COLOR_HIGH;
 			$color = $COLOR_HIGH;
@@ -154,7 +154,7 @@ while (1) {
 	} elsif ($exists{'GUI'}) {
 	} elsif ($exists{'GUI'}) {
 		$color = $COLOR_HIGH;
 		$color = $COLOR_HIGH;
 	} else {
 	} else {
-		$color = $COLOR_LOW;
+		$color = $COLOR_PLAY;
 	}
 	}
 
 
 	# Force updates on a periodic basis
 	# Force updates on a periodic basis