From 9104d05fa1cc1bd722021a1151ad6522d519a465 Mon Sep 17 00:00:00 2001 From: cotestatnt Date: Sat, 13 Jan 2024 18:27:06 +0100 Subject: [PATCH] fs --- examples/csvLogger/csvLogger.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/csvLogger/csvLogger.ino b/examples/csvLogger/csvLogger.ino index 3a00e941..82a46119 100644 --- a/examples/csvLogger/csvLogger.ino +++ b/examples/csvLogger/csvLogger.ino @@ -113,7 +113,7 @@ void setup() { server.setFsInfoCallback([](fsInfo_t* fsInfo) { fsInfo->totalBytes = LittleFS.totalBytes(); fsInfo->usedBytes = LittleFS.usedBytes(); - strcpy(fsInfo->fsName, "LittleFS"); + fsInfo->fsName = "LittleFS"; }); #endif