mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-09 22:25:51 +00:00
hide CW bar fdr SM16703P
This commit is contained in:
@ -170,8 +170,14 @@ int http_fn_index(http_request_t* request) {
|
||||
bForceShowRGBCW = CFG_HasFlag(OBK_FLAG_LED_FORCESHOWRGBCWCONTROLLER);
|
||||
bForceShowRGB = CFG_HasFlag(OBK_FLAG_LED_FORCE_MODE_RGB);
|
||||
|
||||
if (LED_IsLedDriverChipRunning()) {
|
||||
bForceShowRGBCW = true;
|
||||
// user override is always stronger, so if no override set
|
||||
if (bForceShowRGB == false && bForceShowRGB == false) {
|
||||
if (DRV_IsRunning("SM16703P")) {
|
||||
bForceShowRGB = true;
|
||||
}
|
||||
else if (LED_IsLedDriverChipRunning()) {
|
||||
bForceShowRGBCW = true;
|
||||
}
|
||||
}
|
||||
http_setup(request, httpMimeTypeHTML); //Add mimetype regardless of the request
|
||||
|
||||
|
||||
Reference in New Issue
Block a user