mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-07 05:41:13 -05:00
Fix unused argument warning in GoveeController
This commit is contained in:
@@ -162,7 +162,7 @@ void GoveeController::ReceiveBroadcast(char* recv_buf, int size)
|
||||
}
|
||||
}
|
||||
|
||||
void GoveeController::SetColor(unsigned char red, unsigned char green, unsigned char blue, unsigned char brightness)
|
||||
void GoveeController::SetColor(unsigned char red, unsigned char green, unsigned char blue)
|
||||
{
|
||||
json command;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
|
||||
void SendScan();
|
||||
|
||||
void SetColor(unsigned char red, unsigned char green, unsigned char blue, unsigned char brightness);
|
||||
void SetColor(unsigned char red, unsigned char green, unsigned char blue);
|
||||
|
||||
private:
|
||||
std::string firmware_version;
|
||||
|
||||
@@ -120,7 +120,7 @@ void RGBController_Govee::DeviceUpdateMode()
|
||||
unsigned char red = RGBGetRValue(modes[active_mode].colors[0]);
|
||||
unsigned char grn = RGBGetGValue(modes[active_mode].colors[0]);
|
||||
unsigned char blu = RGBGetBValue(modes[active_mode].colors[0]);
|
||||
controller->SetColor(red, grn, blu, 255);
|
||||
controller->SetColor(red, grn, blu);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user