mirror of
https://github.com/wled/WLED.git
synced 2025-11-09 02:59:03 +00:00
Hide 2D if not compiled.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user