LED blink when no SD card
This commit is contained in:
parent
2536e574c7
commit
ddc58a9221
|
@ -25,10 +25,10 @@ void setup() {
|
||||||
|
|
||||||
// Initialize memory and check for problems
|
// Initialize memory and check for problems
|
||||||
if (!msc::init()) {
|
if (!msc::init()) {
|
||||||
|
debugln("Couldnt init SD");
|
||||||
led::setColor(255, 0, 0, 200);
|
led::setColor(255, 0, 0, 200);
|
||||||
while(true) {
|
while(true) {
|
||||||
debugln("Couldnt init SD");
|
taks:update();
|
||||||
delay(1000);
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue