🎨 Replace Arduino String with std::string

This commit is contained in:
Rune Harlyk
2025-09-14 20:08:41 +02:00
committed by Rune Harlyk
parent 0285b522f1
commit 3ce8c88a84
20 changed files with 115 additions and 97 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
#include "system_service.h"
#include <string>
namespace system_service {
@@ -38,9 +39,9 @@ void reset() {
File root = ESP_FS.open(FS_CONFIG_DIRECTORY);
File file;
while (file = root.openNextFile()) {
String path = file.path();
std::string path = file.path();
file.close();
ESP_FS.remove(path);
ESP_FS.remove(path.c_str());
}
restart();
}