Update sdcard_check.cpp (#2384)

This commit is contained in:
CaCO3
2023-05-02 07:49:44 +02:00
committed by GitHub
parent 17994494c9
commit 46589288e7

View File

@@ -147,12 +147,6 @@ bool SDCardCheckFolderFilePresence()
bRetval = false;
}
/* check if file exists: gethost.js */
if (stat("/sdcard/html/gethost.js", &sb) != 0) {
LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Folder/file check: File /html/gethost.js not found");
bRetval = false;
}
/* check if file exists: version.txt */
if (stat("/sdcard/html/version.txt", &sb) != 0) {
LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Folder/file check: File /html/version.txt not found");