go into endless loop when sd init fails

This commit is contained in:
theFeiter 2022-07-03 19:21:58 +02:00
parent f4b5799b16
commit 04e253566d

View File

@ -609,6 +609,7 @@ void begin_SD(){
if (!SD.begin(SD_SS)) {
DBG(" Initialization failed!");
while (1);
}else{
DBG(" SD initialized.");
}