diff --git a/tasmota/tasmota_xdrv_driver/xdrv_122_file_settings_demo.ino b/tasmota/tasmota_xdrv_driver/xdrv_122_file_settings_demo.ino index cd2cf64c3103..0e1dd13f3d61 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_122_file_settings_demo.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_122_file_settings_demo.ino @@ -48,7 +48,7 @@ struct { uint32_t crc32; // To detect file changes uint16_t version; // To detect driver function changes uint16_t spare; - char drv_text[DRV_DEMO_MAX_DRV_TEXT -1][10]; + char drv_text[DRV_DEMO_MAX_DRV_TEXT][10]; } DrvDemoSettings; // Global structure containing driver non-saved variables