diff --git a/right/src/usb_protocol_handler.c b/right/src/usb_protocol_handler.c index f153317..2379493 100644 --- a/right/src/usb_protocol_handler.c +++ b/right/src/usb_protocol_handler.c @@ -61,9 +61,6 @@ void usbProtocolHandler() case USB_COMMAND_WRITE_LED_DRIVER: //writeLedDriver(); break; - case USB_COMMAND_READ_LED_DRIVER: - //readLedDriver(); - break; case USB_COMMAND_WRITE_EEPROM: writeEeprom(); break; @@ -141,11 +138,6 @@ void writeLedDriver() I2cWrite(I2C_MAIN_BUS_BASEADDR, i2cAddress, GenericHidInBuffer+3, i2cPayloadSize); } -void readLedDriver() -{ - -} - void writeEeprom() { uint8_t i2cPayloadSize = GenericHidInBuffer[1]; diff --git a/right/src/usb_protocol_handler.h b/right/src/usb_protocol_handler.h index 5a8423b..83b432d 100644 --- a/right/src/usb_protocol_handler.h +++ b/right/src/usb_protocol_handler.h @@ -20,7 +20,6 @@ #define USB_COMMAND_WRITE_LED_DRIVER 3 #define WRITE_LED_DRIVER_RESPONSE_INVALID_ADDRESS 1 #define WRITE_LED_DRIVER_RESPONSE_INVALID_PAYLOAD_SIZE 2 - #define USB_COMMAND_READ_LED_DRIVER 4 #define USB_COMMAND_WRITE_EEPROM 5 #define WRITE_EEPROM_RESPONSE_INVALID_PAYLOAD_SIZE 1 #define USB_COMMAND_READ_EEPROM 6