diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index 5b5d39277..d0e052b0d 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -172,10 +172,13 @@ int http_fn_index(http_request_t* request) { // user override is always stronger, so if no override set if (bForceShowRGB == false && bForceShowRGB == false) { +#ifndef OBK_DISABLE_ALL_DRIVERS if (DRV_IsRunning("SM16703P")) { bForceShowRGB = true; } - else if (LED_IsLedDriverChipRunning()) { + else +#endif + if (LED_IsLedDriverChipRunning()) { bForceShowRGBCW = true; } }