From 12ade6d0cefe4ef9d113d0dbfdff9eef7b0980a1 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 21 Feb 2023 11:51:08 -0500 Subject: [PATCH] Update cubesatsim.ino --- cubesatsim/cubesatsim.ino | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 0ebe4ab0..5e0a36bd 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3525,12 +3525,13 @@ void process_bootsel() { sleep(1.0); // int pb_value = digitalRead(MAIN_PB_PIN); +/* if (!BOOTSEL) { Serial.println("BOOTSEL: Reboot!"); release = TRUE; prompt = PROMPT_REBOOT; } - +*/ blinkTimes(1); sleep(1.5); @@ -3591,7 +3592,8 @@ void process_bootsel() { } if (release == FALSE) { - Serial.println("BOOTSEL: Shutdown!"); + Serial.println("BOOTSEL: Reboot!"); + prompt = PROMPT_REBOOT; digitalWrite(MAIN_LED_GREEN, LOW); sleep(0.5); digitalWrite(MAIN_LED_GREEN, HIGH);