mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-08 00:35:46 +00:00
respect OBK_DISABLE_ALL_DRIVERS
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user