Remove SetCustomMode from all controllers beginning with the letter S

This commit is contained in:
Adam Honse 2022-08-21 19:31:01 -05:00
parent 66c856f49a
commit 126e5f4341
38 changed files with 129 additions and 283 deletions

View file

@ -145,11 +145,6 @@ void RGBController_SapphireNitroGlowV1::UpdateSingleLED(int /*led*/)
DeviceUpdateLEDs();
}
void RGBController_SapphireNitroGlowV1::SetCustomMode()
{
active_mode = 0;
}
void RGBController_SapphireNitroGlowV1::DeviceUpdateMode()
{
controller->SetMode((unsigned char)modes[(unsigned int)active_mode].value);

View file

@ -19,14 +19,12 @@ public:
~RGBController_SapphireNitroGlowV1();
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void SetCustomMode();
void DeviceUpdateMode();
private:

View file

@ -196,11 +196,6 @@ void RGBController_SapphireNitroGlowV3::UpdateSingleLED(int /*led*/)
DeviceUpdateLEDs();
}
void RGBController_SapphireNitroGlowV3::SetCustomMode()
{
active_mode = 0;
}
void RGBController_SapphireNitroGlowV3::DeviceUpdateMode()
{
auto mode = modes[active_mode];

View file

@ -19,14 +19,12 @@ public:
~RGBController_SapphireNitroGlowV3();
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void SetCustomMode();
void DeviceUpdateMode();
private: