Remove Hub75 led types from list if no support in build

This commit is contained in:
Will Tatam
2024-02-10 15:20:19 +00:00
parent 0c4d5ab0f3
commit 609f1936df
2 changed files with 17 additions and 0 deletions

View File

@@ -534,6 +534,10 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
#if !defined(WLED_DISABLE_INFRARED)
oappend(SET_F("hideNoIR();")); // WLEDMM hide "not compiled in" message
#endif
#ifndef WLED_ENABLE_HUB75MATRIX
oappend(SET_F("hideHub75();")); // WLEDMM hide HUB75 LED types
#endif
}
if (subPage == 3)