Skip to content

Commit a26a8cf

Browse files
committed
getBytes
1 parent bc8c1cc commit a26a8cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RCMv3/websiteserver.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ void startWebServer()
257257
if (prefs.isKey("miscConfigInfo")) {
258258
size_t len = prefs.getBytesLength("miscConfigInfo"); // Preferences library allows long byte arrays but limits strings
259259
char buf[len];
260+
prefs.getBytes("miscConfigInfo", buf, len);
260261
request->send(200, "application/json", buf);
261262
Serial.println(len);
262263
Serial.println(buf);

0 commit comments

Comments
 (0)