From dd08751f3fceb85ce8c887e40d4fc3e6c77e168f Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Mon, 16 Jan 2023 22:09:43 +0100 Subject: [PATCH] Hide 2D if not compiled. --- wled00/data/settings.htm | 4 +- wled00/html_settings.h | 102 +++++++++++++++++++-------------------- wled00/xml.cpp | 3 ++ 3 files changed, 56 insertions(+), 53 deletions(-) diff --git a/wled00/data/settings.htm b/wled00/data/settings.htm index 3032959d..dc8e3838 100644 --- a/wled00/data/settings.htm +++ b/wled00/data/settings.htm @@ -68,9 +68,9 @@ - + - + diff --git a/wled00/html_settings.h b/wled00/html_settings.h index f21b6330..a05d0803 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -65,70 +65,70 @@ const uint8_t PAGE_settingsCss[] PROGMEM = { // Autogenerated from wled00/data/settings.htm, do not edit!! -const uint16_t PAGE_settings_length = 985; +const uint16_t PAGE_settings_length = 992; const uint8_t PAGE_settings[] PROGMEM = { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x13, 0xad, 0x56, 0x6d, 0x6f, 0xdb, 0x36, 0x10, 0xfe, 0xee, 0x5f, 0xc1, 0xb0, 0x58, 0x23, 0xa1, 0xb2, 0xec, 0x38, 0xc3, 0xb0, 0xc9, 0x96, - 0x8b, 0x35, 0x2f, 0x9d, 0x87, 0x04, 0x0d, 0x90, 0xa4, 0xdd, 0x80, 0x7d, 0xa1, 0xc9, 0x93, 0xcc, - 0x46, 0x22, 0x05, 0xf2, 0xe4, 0xc4, 0x73, 0xf3, 0xdf, 0x77, 0x94, 0x9d, 0xb7, 0x36, 0xd8, 0x8a, - 0x21, 0x5f, 0x6c, 0xf3, 0x78, 0x7c, 0x78, 0xf7, 0x3c, 0xcf, 0x11, 0x9e, 0xec, 0x1c, 0x7e, 0x38, - 0xb8, 0xf8, 0xf3, 0xec, 0x88, 0x2d, 0xb0, 0xae, 0xa6, 0x93, 0xf0, 0xc9, 0x2a, 0x61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0xee, 0x5d, 0xd0, 0x37, 0x7b, 0xcb, 0x4e, 0x85, + 0x74, 0xd6, 0xbf, 0x8e, 0x6d, 0xdb, 0x7a, 0xdb, 0x87, 0xda, 0x2a, 0xff, 0x4a, 0x4a, 0x40, 0x27, + 0x04, 0xd0, 0x24, 0x6b, 0x5c, 0x51, 0xbd, 0x97, 0x0d, 0x3d, 0xfd, 0x8f, 0xb5, 0xa0, 0x1f, 0x34, + 0xc5, 0x61, 0xa4, 0xc3, 0x9f, 0x8d, 0x7f, 0x01, 0x5e, 0x6b, 0x18, 0x1b, 0x7c, 0x08, 0x00, 0x00 }; diff --git a/wled00/xml.cpp b/wled00/xml.cpp index f54dd71a..c250340a 100644 --- a/wled00/xml.cpp +++ b/wled00/xml.cpp @@ -287,6 +287,9 @@ void getSettingsJS(byte subPage, char* dest) if (subPage == 0) { + #ifndef WLED_DISABLE_2D // include only if 2D is compiled in + oappend(PSTR("gId('2dbtn').style.display='';")); + #endif #ifdef WLED_ENABLE_DMX // include only if DMX is enabled oappend(PSTR("gId('dmxbtn').style.display='';")); #endif