Update xdrv_122_file_json_settings_demo.ino

This commit is contained in:
Theo Arends 2024-03-10 12:13:13 +01:00
parent e77a5f57ff
commit 14f976b8a4
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ struct {
#define XDRV_122_KEY "drvset122"
#ifdef USE_UFILESYS
bool DrvDemoLoadData(void) {
char key[] = XDRV_122_KEY;
String json = UfsJsonSettingsRead(key);
@ -96,6 +97,7 @@ void DrvDemoDeleteData(void) {
char key[] = XDRV_122_KEY;
UfsJsonSettingsDelete(key); // Use defaults
}
#endif // USE_UFILESYS
/*********************************************************************************************/