missing two pwms on single channel fx

This commit is contained in:
openshwprojects
2023-04-07 18:07:17 +02:00
parent 88abd44e45
commit 28fb27b97f

View File

@@ -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;
}