Remove DevicePropertyId_HardwareConfigSize and DevicePropertyId_UserConfigSize
This commit is contained in:
@@ -55,12 +55,6 @@ void UsbCommand_GetProperty(void)
|
|||||||
case DevicePropertyId_ConfigSizes:
|
case DevicePropertyId_ConfigSizes:
|
||||||
memcpy(GenericHidOutBuffer+1, (uint8_t*)&configSizes, sizeof(configSizes));
|
memcpy(GenericHidOutBuffer+1, (uint8_t*)&configSizes, sizeof(configSizes));
|
||||||
break;
|
break;
|
||||||
case DevicePropertyId_HardwareConfigSize:
|
|
||||||
SetUsbTxBufferUint16(1, HARDWARE_CONFIG_SIZE);
|
|
||||||
break;
|
|
||||||
case DevicePropertyId_UserConfigSize:
|
|
||||||
SetUsbTxBufferUint16(1, USER_CONFIG_SIZE);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
SetUsbTxBufferUint8(0, UsbStatusCode_GetProperty_InvalidProperty);
|
SetUsbTxBufferUint8(0, UsbStatusCode_GetProperty_InvalidProperty);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
DevicePropertyId_DeviceProtocolVersion = 0,
|
DevicePropertyId_DeviceProtocolVersion = 0,
|
||||||
DevicePropertyId_ProtocolVersions = 1,
|
DevicePropertyId_ProtocolVersions = 1,
|
||||||
DevicePropertyId_ConfigSizes = 2,
|
DevicePropertyId_ConfigSizes = 2,
|
||||||
DevicePropertyId_HardwareConfigSize = 4,
|
|
||||||
DevicePropertyId_UserConfigSize = 5,
|
|
||||||
} system_property_t;
|
} system_property_t;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user