Fix warnings in AMBXController.cpp
This commit is contained in:
parent
804490399f
commit
eecdd4befc
1 changed files with 32 additions and 32 deletions
|
|
@ -176,9 +176,9 @@ void AMBXController::SetLEDColor(unsigned int led, RGBColor color)
|
|||
AMBX_PACKET_HEADER,
|
||||
static_cast<unsigned char>(led),
|
||||
AMBX_SET_COLOR,
|
||||
RGBGetRValue(color),
|
||||
RGBGetGValue(color),
|
||||
RGBGetBValue(color)
|
||||
(unsigned char)RGBGetRValue(color),
|
||||
(unsigned char)RGBGetGValue(color),
|
||||
(unsigned char)RGBGetBValue(color)
|
||||
};
|
||||
|
||||
SendPacket(color_buf, 6);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue