Prevent to start streaming if the processor has only 1 core.

This commit is contained in:
Pecusx
2017-05-09 20:26:26 +02:00
committed by GitHub
parent bbe52b4cf6
commit 80d5530cfc
3 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ class MyDaemon(Daemon):
mpd_version = radio.execMpcCommand("version")
log.message(mpd_version, log.INFO)
lcd.line3(mpd_version)
lcd.line4("GPIO version " + str(GPIO.VERSION))
lcd.line4("GPIO: " + str(GPIO.VERSION) + " cores:"+str(radio.cores))
time.sleep(2.0)
reload(lcd,radio)