diff --git a/right/src/usb_protocol_handler.c b/right/src/usb_protocol_handler.c index 82169ad..08c9494 100644 --- a/right/src/usb_protocol_handler.c +++ b/right/src/usb_protocol_handler.c @@ -54,12 +54,6 @@ void setTestLed(void) UhkModuleStates[UhkModuleDriverId_LeftKeyboardHalf].sourceVars.isTestLedOn = ledState; } -// To be removed. Now it's already part of getKeyboardState() -void readMergeSensor(void) -{ - SetUsbResponseByte(MERGE_SENSOR_IS_MERGED); -} - void setLedPwm(void) { uint8_t brightnessPercent = GenericHidInBuffer[1]; @@ -90,9 +84,6 @@ void UsbProtocolHandler(void) break; case UsbCommandId_WriteLedDriver: break; - case UsbCommandId_ReadMergeSensor: - readMergeSensor(); - 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 02b246d..5bc82ff 100644 --- a/right/src/usb_protocol_handler.h +++ b/right/src/usb_protocol_handler.h @@ -12,12 +12,11 @@ UsbCommandId_Reenumerate = 1, UsbCommandId_SetTestLed = 2, UsbCommandId_WriteLedDriver = 3, - UsbCommandId_ReadMergeSensor = 7, UsbCommandId_WriteUserConfiguration = 8, UsbCommandId_ApplyConfig = 9, UsbCommandId_SetLedPwm = 10, UsbCommandId_GetAdcValue = 11, - UsbCommandId_LaunchEepromTransferLegacy = 12, + UsbCommandId_LaunchEepromTransferLegacy = 12, UsbCommandId_ReadHardwareConfiguration = 13, UsbCommandId_WriteHardwareConfiguration = 14, UsbCommandId_ReadUserConfiguration = 15,