mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
go into endless loop when sd init fails
This commit is contained in:
parent
f4b5799b16
commit
04e253566d
@ -609,6 +609,7 @@ void begin_SD(){
|
||||
|
||||
if (!SD.begin(SD_SS)) {
|
||||
DBG(" Initialization failed!");
|
||||
while (1);
|
||||
}else{
|
||||
DBG(" SD initialized.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user