| 166 | } |
| 167 | |
| 168 | void copyIfNeeded(const char* path) { |
| 169 | if (!contentFS->exists(path) && LittleFS.exists(path)) { |
| 170 | Serial.printf("SDCard does not contain %s, littleFS does, copying\r\n", path); |
| 171 | copyBetweenFS(LittleFS, path, *contentFS); |
| 172 | } |
| 173 | } |
| 174 | #endif |
| 175 | #endif |
| 176 |
no test coverage detected