Update rpitx.py added global

beta-v1.3.2-battery-saver
Alan Johnston 2 years ago committed by GitHub
parent c41932c9b4
commit 4181561d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,6 +12,7 @@ from PIL import Image, ImageDraw, ImageFont, ImageColor
def battery_saver_check():
try:
global txc
f = open("/home/pi/CubeSatSim/battery_saver")
f.close()
txc = False

Loading…
Cancel
Save

Powered by TurnKey Linux.