We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1396cc8 commit 389cdf3Copy full SHA for 389cdf3
RGBController/RGBController.cpp
@@ -1561,7 +1561,9 @@ void RGBController::SetCustomMode()
1561
{
1562
for(unsigned int mode_idx = 0; mode_idx < modes.size(); mode_idx++)
1563
1564
- if(modes[mode_idx].name == custom_mode_names[custom_mode_idx] && modes[mode_idx].color_mode == MODE_COLORS_PER_LED)
+ if((modes[mode_idx].name == custom_mode_names[custom_mode_idx])
1565
+ && ((modes[mode_idx].color_mode == MODE_COLORS_PER_LED)
1566
+ || (modes[mode_idx].color_mode == MODE_COLORS_MODE_SPECIFIC)))
1567
1568
active_mode = mode_idx;
1569
return;
0 commit comments