We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6daf51 commit f0543a2Copy full SHA for f0543a2
src/WiFiStorage.cpp
@@ -5,3 +5,7 @@ WiFiStorageFile WiFiStorageClass::open(const char *filename) {
5
file.size();
6
return file;
7
}
8
+
9
+WiFiStorageFile WiFiStorageClass::open(String filename) {
10
+ return open(filename.c_str());
11
+}
src/WiFiStorage.h
@@ -8,6 +8,7 @@ class WiFiStorageClass
static bool begin();
static WiFiStorageFile open(const char *filename);
+ static WiFiStorageFile open(String filename);
12
13
static bool exists(const char *filename) {
14
size_t len;
0 commit comments