diff --git a/docs/html/sd___e_s_p32_8cpp_source.html b/docs/html/sd___e_s_p32_8cpp_source.html index e4e53b3..a1f5fb9 100644 --- a/docs/html/sd___e_s_p32_8cpp_source.html +++ b/docs/html/sd___e_s_p32_8cpp_source.html @@ -122,7 +122,7 @@
53 }
54 
55 int8_t ESP_SD::card_status(){
-
56 if (!card.isInserted() || !card.isMounted()) return 0; //No sd
+
56 if (!card.isSDCardInserted() || !card.isMounted()) return 0; //No sd
57 if ( card.isPrinting() || card.isFileOpen() ) return -1; // busy
58 return 1; //ok
59 }
diff --git a/src/sd_ESP32.cpp b/src/sd_ESP32.cpp index 19f9eaf..e5ea27c 100644 --- a/src/sd_ESP32.cpp +++ b/src/sd_ESP32.cpp @@ -66,7 +66,7 @@ int8_t ESP_SD::card_status(bool forcemount) #ifdef IS_SD_INSERTED if (!IS_SD_INSERTED() || !card.isMounted()) { #else - if (!card.isInserted() || !card.isMounted()) { + if (!card.isSDCardInserted() || !card.isMounted()) { #endif return 0; //No sd }