From b6802f7415b985aef5093104f39f219dcf14f738 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 21 Feb 2023 12:04:36 -0500 Subject: [PATCH] Update cubesatsim.ino --- cubesatsim/cubesatsim.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 5e0a36bd..ab091d41 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3398,7 +3398,7 @@ void sleep(float timer) { // sleeps for intervals more than 0.01 milli seconds void process_pushbutton() { - if (new_mode != mode) { + if ((new_mode != mode) || (prompt != false)) { Serial.println("******* PB bounce error!! *******\n\n"); return; }