Update transmit.py don't go into battery saver mode

master-b-pi5
Alan Johnston 1 month ago committed by GitHub
parent 61cd5407e7
commit 9cb3686e0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -93,9 +93,10 @@ def battery_saver_check():
global txc
f = open("/home/pi/CubeSatSim/battery_saver", "r")
f.close()
txc = False
print("Safe Mode!")
print("battery saver activated")
print("Pi 5 does not support battery saver!")
# txc = False
# print("Safe Mode!")
# print("battery saver activated")
except:
print("battery saver not activated")
# txc = True

Loading…
Cancel
Save

Powered by TurnKey Linux.