Selaa lähdekoodia

Leave the amp on while paused

Zachary Kotlarek 13 vuotta sitten
vanhempi
sitoutus
8f6f6942bc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      dmx/amplifierPower.pl

+ 1 - 1
dmx/amplifierPower.pl

@@ -59,7 +59,7 @@ while (1) {
 
 
 	# Calculate the new state
 	# Calculate the new state
 	$stateLast = $state;
 	$stateLast = $state;
-	if ($newState eq 'ON') {
+	if ($newState eq 'ON' || $newState eq 'PAUSE') {
 		$state = 'ON';
 		$state = 'ON';
 	} elsif ($exists{'RAVE'}) {
 	} elsif ($exists{'RAVE'}) {
 		$state = 'RAVE';
 		$state = 'RAVE';