Add SPIFFS.exists
This commit is contained in:
@ -298,7 +298,8 @@ static cell_t ResizeFile(cell_t fd, cell_t size);
|
|||||||
XV(SPIFFS, "SPIFFS.end", SPIFFS_END, SPIFFS.end()) \
|
XV(SPIFFS, "SPIFFS.end", SPIFFS_END, SPIFFS.end()) \
|
||||||
XV(SPIFFS, "SPIFFS.format", SPIFFS_FORMAT, PUSH SPIFFS.format()) \
|
XV(SPIFFS, "SPIFFS.format", SPIFFS_FORMAT, PUSH SPIFFS.format()) \
|
||||||
XV(SPIFFS, "SPIFFS.totalBytes", SPIFFS_TOTAL_BYTES, PUSH SPIFFS.totalBytes()) \
|
XV(SPIFFS, "SPIFFS.totalBytes", SPIFFS_TOTAL_BYTES, PUSH SPIFFS.totalBytes()) \
|
||||||
XV(SPIFFS, "SPIFFS.usedBytes", SPIFFS_USED_BYTES, PUSH SPIFFS.usedBytes())
|
XV(SPIFFS, "SPIFFS.usedBytes", SPIFFS_USED_BYTES, PUSH SPIFFS.usedBytes()) \
|
||||||
|
XV(SPIFFS, "SPIFFS.exists", SPIFFS_EXISTS, n0 = SPIFFS.exists(c0) ? -1 : 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef ENABLE_FREERTOS_SUPPORT
|
#ifndef ENABLE_FREERTOS_SUPPORT
|
||||||
|
|||||||
Reference in New Issue
Block a user