Explorar o código

Disable automatic HDMI switch reboots

Zachary Kotlarek %!s(int64=10) %!d(string=hai) anos
pai
achega
c70fee0e71
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      dmx/HDMIctrl.pl

+ 1 - 4
dmx/HDMIctrl.pl

@@ -120,7 +120,7 @@ while (1) {
 		}
 
 		# Reboot before the first update to GAME
-		if ($state eq 'GAME' && $lastBoot < $now - $BOOT_TIMEOUT) {
+		if (0 && $state eq 'GAME' && $lastBoot < $now - $BOOT_TIMEOUT) {
 			$hdmi->send('REBOOT')
 			  or die('Unable to write command to HDMI socket: ' . $state . ": ${!}\n");
 
@@ -134,9 +134,6 @@ while (1) {
 		$hdmi->send($state)
 		  or die('Unable to write command to HDMI socket: ' . $state . ": ${!}\n");
 
-		# Annouce the state change, after the fact
-		#DMX::say('Aitch-Dee-Em-I input' . lc($state));
-
 		# Update the push time
 		$pushLast = $now;