Speed values are reversed on Corsair Commander Pro. Removed all references to SendKeepalive function.

This commit is contained in:
Adam Honse
2020-01-17 20:50:26 -06:00
parent 90dfa5678b
commit 5bc94fd677
2 changed files with 2 additions and 4 deletions

View File

@@ -54,9 +54,9 @@ enum
enum
{
CORSAIR_CMDR_PRO_SPEED_SLOW = 0x00, /* Slow speed */
CORSAIR_CMDR_PRO_SPEED_FAST = 0x00, /* Fast speed */
CORSAIR_CMDR_PRO_SPEED_MEDIUM = 0x01, /* Medium speed */
CORSAIR_CMDR_PRO_SPEED_FAST = 0x02, /* Fast speed */
CORSAIR_CMDR_PRO_SPEED_SLOW = 0x02, /* Slow speed */
};
enum
@@ -97,7 +97,6 @@ public:
);
void SetChannelLEDs(unsigned char channel, std::vector<RGBColor> colors);
void SendKeepalive();
unsigned int channel_leds[CORSAIR_CMDR_PRO_NUM_CHANNELS];
void KeepaliveThread();

View File

@@ -183,7 +183,6 @@ void RGBController_CorsairCmdrPro::UpdateZoneLEDs(int zone)
{
corsair->SetChannelLEDs(channel, channel_colors);
}
corsair->SendKeepalive();
}
void RGBController_CorsairCmdrPro::UpdateSingleLED(int led)