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; }