From f8fd3138ef078641a7a398d3d8555bb3a1ad983d Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sun, 7 Jul 2024 15:30:03 -0500 Subject: [PATCH] Fix unused parameters warning in DRGBController.cpp --- Controllers/DRGBController/DRGBController.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controllers/DRGBController/DRGBController.cpp b/Controllers/DRGBController/DRGBController.cpp index 0298ab53..ef0b3998 100644 --- a/Controllers/DRGBController/DRGBController.cpp +++ b/Controllers/DRGBController/DRGBController.cpp @@ -44,7 +44,7 @@ unsigned short DRGBController::GetDevicePID() return(device_pid); } -void DRGBController::SetChannelLEDs(unsigned char channel, RGBColor* colors, unsigned int num_colors) +void DRGBController::SetChannelLEDs(unsigned char /*channel*/, RGBColor* /*colors*/, unsigned int /*num_colors*/) { } @@ -86,7 +86,7 @@ void DRGBController::SendPacketFS(unsigned char* colors, unsigned int buf_packet memset(usb_buf, 0x00, sizeof(usb_buf)); usb_buf[0x00] = 0x00; if(Array) - { + { for(unsigned int i = 0; i < buf_packets; i++) { usb_buf[1] = i == buf_packets - 1 ? 200 + i : 100 + i;