From 65b235cb8945577991f8b73c2a57cf267b13693e Mon Sep 17 00:00:00 2001 From: tillraab Date: Thu, 19 Sep 2019 12:11:41 +0200 Subject: [PATCH] bf --- rasp_grid.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rasp_grid.py b/rasp_grid.py index 78c0603..0e09e71 100644 --- a/rasp_grid.py +++ b/rasp_grid.py @@ -351,6 +351,7 @@ def main(): subprocess.run(['sudo', 'ip', 'link', 'set', 'eth0', 'down']) GPIO.output(LED2_pin, GPIO.LOW) disp_eth_power = False + last_button_2_t = time() elif disp_eth_power == False: subprocess.run(['tvservice', '-p']) @@ -361,6 +362,7 @@ def main(): subprocess.run(['sudo', 'ip', 'link', 'set', 'eth0', 'up']) GPIO.output(LED2_pin, GPIO.HIGH) disp_eth_power = True + last_button_2_t = time() # Get the status of the background operation status, transfer_status = ai_device.get_scan_status()