From 31adf74634f91a633fffc69196798c418e211613 Mon Sep 17 00:00:00 2001 From: gemu Date: Sat, 23 Mar 2024 10:05:56 +0100 Subject: [PATCH] fix linker error (#21017) --- tasmota/tasmota_xdrv_driver/xdrv_10_scripter.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_10_scripter.ino b/tasmota/tasmota_xdrv_driver/xdrv_10_scripter.ino index 6c18d7d35..1b7976a61 100755 --- a/tasmota/tasmota_xdrv_driver/xdrv_10_scripter.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_10_scripter.ino @@ -11121,8 +11121,11 @@ void ScriptWebShow(char mc, uint8_t page) { if (glob_script_mem.section_ptr) { +#ifdef USE_GOOGLE_CHARTS glob_script_mem.chartindex = 1; glob_script_mem.google_libs = 0; +#endif + char *lp = glob_script_mem.section_ptr; if (mc == 'w') { while (*lp) {