mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-08 00:07:42 +01:00
missing two pwms on single channel fx
This commit is contained in:
@@ -646,7 +646,11 @@ int http_fn_index(http_request_t* request) {
|
||||
|
||||
lm = LED_GetMode();
|
||||
|
||||
c_pwms = PIN_CountPinsWithRoleOrRole(IOR_PWM, IOR_PWM_n);
|
||||
//c_pwms = PIN_CountPinsWithRoleOrRole(IOR_PWM, IOR_PWM_n);
|
||||
// This will treat multiple PWMs on a single channel as one.
|
||||
// Thanks to this users can turn for example RGB LED controller
|
||||
// into high power 3-outputs single colors LED controller
|
||||
PIN_get_Relay_PWM_Count(0, &c_pwms, 0);
|
||||
if (bForceShowRGBCW) {
|
||||
c_pwms = 5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user