Fix unused argument warning in GoveeController
This commit is contained in:
parent
c4d0d38e69
commit
21cb086b87
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue