Remove unnecessary implementations of SetCustomMode
This commit is contained in:
parent
43b97bca75
commit
6a472437bb
48 changed files with 33 additions and 231 deletions
|
|
@ -91,7 +91,7 @@ void RGBController_DDP::DeviceUpdateLEDs()
|
|||
std::vector<unsigned int> brightness_adjusted_colors;
|
||||
brightness_adjusted_colors.reserve(colors.size());
|
||||
float brightness_scale = (float)modes[active_mode].brightness / 100.0f;
|
||||
|
||||
|
||||
for(unsigned int color_idx = 0; color_idx < colors.size(); color_idx++)
|
||||
{
|
||||
unsigned int color = colors[color_idx];
|
||||
|
|
@ -122,11 +122,6 @@ void RGBController_DDP::DeviceUpdateMode()
|
|||
{
|
||||
}
|
||||
|
||||
void RGBController_DDP::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_DDP::SetKeepaliveTime(unsigned int time_ms)
|
||||
{
|
||||
if(controller != nullptr)
|
||||
|
|
|
|||
|
|
@ -21,11 +21,13 @@ public:
|
|||
|
||||
void SetupZones();
|
||||
void ResizeZone(int zone, int new_size);
|
||||
|
||||
void DeviceUpdateLEDs();
|
||||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void DeviceUpdateMode();
|
||||
void SetCustomMode();
|
||||
|
||||
void SetKeepaliveTime(unsigned int time_ms);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue