Remove SetCustomMode from all controllers beginning with the letter T
This commit is contained in:
parent
126e5f4341
commit
9d7fef5bbc
14 changed files with 63 additions and 105 deletions
|
|
@ -126,11 +126,6 @@ void RGBController_TrustGXT114::UpdateSingleLED(int /*led*/)
|
|||
DeviceUpdateMode();
|
||||
}
|
||||
|
||||
void RGBController_TrustGXT114::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_TrustGXT114::DeviceUpdateMode()
|
||||
{
|
||||
controller->SetMode(modes[active_mode].colors[0], modes[active_mode].brightness, modes[active_mode].speed, modes[active_mode].value);
|
||||
|
|
|
|||
|
|
@ -20,11 +20,12 @@ public:
|
|||
|
||||
void SetupZones();
|
||||
void ResizeZone(int zone, int new_size);
|
||||
|
||||
void DeviceUpdateLEDs();
|
||||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void DeviceUpdateMode();
|
||||
void SetCustomMode();
|
||||
|
||||
private:
|
||||
TrustGXT114Controller* controller;
|
||||
|
|
|
|||
|
|
@ -130,11 +130,6 @@ void RGBController_TrustGXT180::UpdateSingleLED(int /*led*/)
|
|||
DeviceUpdateMode();
|
||||
}
|
||||
|
||||
void RGBController_TrustGXT180::SetCustomMode()
|
||||
{
|
||||
active_mode = 0;
|
||||
}
|
||||
|
||||
void RGBController_TrustGXT180::DeviceUpdateMode()
|
||||
{
|
||||
controller->SetMode(colors[0], modes[active_mode].brightness, modes[active_mode].speed, modes[active_mode].value);
|
||||
|
|
|
|||
|
|
@ -20,11 +20,12 @@ public:
|
|||
|
||||
void SetupZones();
|
||||
void ResizeZone(int zone, int new_size);
|
||||
|
||||
void DeviceUpdateLEDs();
|
||||
void UpdateZoneLEDs(int zone);
|
||||
void UpdateSingleLED(int led);
|
||||
|
||||
void DeviceUpdateMode();
|
||||
void SetCustomMode();
|
||||
|
||||
private:
|
||||
TrustGXT180Controller* controller;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue