mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 19:46:54 +03:00
Update sdcard_check.cpp (#2384)
This commit is contained in:
@@ -147,12 +147,6 @@ bool SDCardCheckFolderFilePresence()
|
|||||||
bRetval = false;
|
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 */
|
/* check if file exists: version.txt */
|
||||||
if (stat("/sdcard/html/version.txt", &sb) != 0) {
|
if (stat("/sdcard/html/version.txt", &sb) != 0) {
|
||||||
LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Folder/file check: File /html/version.txt not found");
|
LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Folder/file check: File /html/version.txt not found");
|
||||||
|
|||||||
Reference in New Issue
Block a user