Browse Source

Thingomagay 2

Emil 3 năm trước cách đây
mục cha
commit
5192f88228
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/main.cpp

+ 1 - 0
src/main.cpp

@@ -60,6 +60,7 @@ void connectWiFi() {
 void connectSDCard() {
     if(!SD.begin()){
         Serial.println("Card Mount Failed");
+        ESP.restart();
         return;
     }
     uint8_t cardType = SD.cardType();