From 8c42ec27ddf2374c8f0bc320a31994a48e0a00cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sun, 5 Nov 2017 18:13:57 +0100 Subject: [PATCH] Remove the now unused UsbCommandId_WriteLedDriver --- right/src/usb_protocol_handler.c | 2 -- right/src/usb_protocol_handler.h | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/right/src/usb_protocol_handler.c b/right/src/usb_protocol_handler.c index 4cef2f2..528ce69 100644 --- a/right/src/usb_protocol_handler.c +++ b/right/src/usb_protocol_handler.c @@ -44,8 +44,6 @@ void UsbProtocolHandler(void) case UsbCommandId_SetTestLed: UsbCommand_SetTestLed(); break; - case UsbCommandId_WriteLedDriver: - break; case UsbCommandId_WriteUserConfiguration: UsbCommand_WriteConfig(false); break; diff --git a/right/src/usb_protocol_handler.h b/right/src/usb_protocol_handler.h index bd6fee2..57c367d 100644 --- a/right/src/usb_protocol_handler.h +++ b/right/src/usb_protocol_handler.h @@ -12,10 +12,9 @@ UsbCommandId_GetProperty = 0, UsbCommandId_Reenumerate = 1, UsbCommandId_SetTestLed = 2, - UsbCommandId_WriteLedDriver = 3, UsbCommandId_WriteUserConfiguration = 8, UsbCommandId_ApplyConfig = 9, - UsbCommandId_SetLedPwmBrightness = 10, + UsbCommandId_SetLedPwmBrightness = 10, UsbCommandId_GetAdcValue = 11, UsbCommandId_LaunchEepromTransferLegacy = 12, UsbCommandId_ReadHardwareConfiguration = 13,