Remove UsbCommandId_ReadMergeSensor now that it can be queried via UsbCommandId_GetKeyboardState.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
UsbCommandId_Reenumerate = 1,
|
||||
UsbCommandId_SetTestLed = 2,
|
||||
UsbCommandId_WriteLedDriver = 3,
|
||||
UsbCommandId_ReadMergeSensor = 7,
|
||||
UsbCommandId_WriteUserConfiguration = 8,
|
||||
UsbCommandId_ApplyConfig = 9,
|
||||
UsbCommandId_SetLedPwm = 10,
|
||||
|
||||
Reference in New Issue
Block a user