From 14f976b8a439203c93e4490c087ee10b3fcd82a3 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 10 Mar 2024 12:13:13 +0100 Subject: [PATCH] Update xdrv_122_file_json_settings_demo.ino --- .../tasmota_xdrv_driver/xdrv_122_file_json_settings_demo.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_122_file_json_settings_demo.ino b/tasmota/tasmota_xdrv_driver/xdrv_122_file_json_settings_demo.ino index a6d0c0523..965824f90 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_122_file_json_settings_demo.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_122_file_json_settings_demo.ino @@ -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 /*********************************************************************************************/