diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index e1032ee5..35ddb6be 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3511,10 +3511,11 @@ void process_bootsel() { // Serial.println("BOOTSEL pressed!"); int release = FALSE; - -// if (!wifi) - digitalWrite(led_builtin_pin, HIGH); // make sure built in LED is on before blinking - + + if (wifi) + digitalWrite(LED_BUILTIN, HIGH); // set the built-in LED ON + else + digitalWrite(led_builtin_pin, HIGH); // set the built-in LED ON sleep(1.0); // int pb_value = digitalRead(MAIN_PB_PIN);