LED blink when no SD card

This commit is contained in:
Spacehuhn 2022-11-01 12:23:14 +01:00
parent 2536e574c7
commit ddc58a9221
2 changed files with 3 additions and 3 deletions

View File

@ -25,10 +25,10 @@ void setup() {
// Initialize memory and check for problems
if (!msc::init()) {
debugln("Couldnt init SD");
led::setColor(255, 0, 0, 200);
while(true) {
debugln("Couldnt init SD");
delay(1000);
taks:update();
}
return;
}

View File

@ -5,7 +5,7 @@
#define VERSION "0.0.1"
// ===== DEBUG Settings ===== //
//#define ENABLE_DEBUG
#define ENABLE_DEBUG
#define DEBUG_PORT Serial
#define DEBUG_BAUD 115200