diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index c270a3460..ec87ba0b9 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -1296,7 +1296,11 @@ int http_fn_ha_cfg(http_request_t *request) { get_Relay_PWM_Count(&relayCount, &pwmCount); +#ifndef OBK_DISABLE_ALL_DRIVERS bLedDriverChipRunning = DRV_IsRunning("SM2135") || DRV_IsRunning("BP5758D"); +#else + bLedDriverChipRunning = 0; +#endif if(relayCount > 0) {