Skip to content

Commit f8fd313

Browse files
Fix unused parameters warning in DRGBController.cpp
1 parent b03edcb commit f8fd313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Controllers/DRGBController/DRGBController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ unsigned short DRGBController::GetDevicePID()
4444
return(device_pid);
4545
}
4646

47-
void DRGBController::SetChannelLEDs(unsigned char channel, RGBColor* colors, unsigned int num_colors)
47+
void DRGBController::SetChannelLEDs(unsigned char /*channel*/, RGBColor* /*colors*/, unsigned int /*num_colors*/)
4848
{
4949

5050
}
@@ -86,7 +86,7 @@ void DRGBController::SendPacketFS(unsigned char* colors, unsigned int buf_packet
8686
memset(usb_buf, 0x00, sizeof(usb_buf));
8787
usb_buf[0x00] = 0x00;
8888
if(Array)
89-
{
89+
{
9090
for(unsigned int i = 0; i < buf_packets; i++)
9191
{
9292
usb_buf[1] = i == buf_packets - 1 ? 200 + i : 100 + i;

0 commit comments

Comments
 (0)