update devterm_fan_daemon_cm4 code

This commit is contained in:
cuu 2024-06-10 08:02:03 -07:00
parent ca45c513e3
commit 9a0598e087

View File

@ -11,7 +11,7 @@ def isDigit(x):
return False
def measure_temp():
temp = os.popen("/opt/vc/bin/vcgencmd measure_temp").readline()
temp = os.popen("/usr/bin/vcgencmd measure_temp").readline()
temp2 = temp.replace("temp=","")
temp3 = temp2.replace("'C","").strip()
#print(temp3)