mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 11:35:21 -04:00
Remove unnecessary implementations of SetCustomMode
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user