Explorar o código

Leave the amp on while paused

Zachary Kotlarek %!s(int64=13) %!d(string=hai) anos
pai
achega
8f6f6942bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dmx/amplifierPower.pl

+ 1 - 1
dmx/amplifierPower.pl

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