From cbd7632c158d8d6ecf5ba866340f3a5baa68c06f Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 26 Nov 2022 17:25:52 -0500 Subject: [PATCH] removed button_counter from isr --- cubesatsim/cubesatsim.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index f67839b2..fdf8a805 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3642,7 +3642,7 @@ bool TimerHandler0(struct repeating_timer *t) { if (BOOTSEL) // boot selector button is pressed on Pico process_bootsel(); */ - +/* if (button_counter++ << 10) { button_counter = 0; @@ -3654,6 +3654,7 @@ bool TimerHandler0(struct repeating_timer *t) { if (BOOTSEL) // boot selector button is pressed on Pico process_bootsel(); } +*/ return true; }