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 /*********************************************************************************************/