Fix coding style
This commit is contained in:
@@ -7,8 +7,9 @@ uint8_t GenericHidOutBuffer[USB_GENERIC_HID_OUT_BUFFER_LENGTH];
|
|||||||
|
|
||||||
static usb_status_t UsbReceiveData(void)
|
static usb_status_t UsbReceiveData(void)
|
||||||
{
|
{
|
||||||
if (!UsbCompositeDevice.attach)
|
if (!UsbCompositeDevice.attach) {
|
||||||
return kStatus_USB_Error; // The device is not attached
|
return kStatus_USB_Error; // The device is not attached
|
||||||
|
}
|
||||||
|
|
||||||
return USB_DeviceHidRecv(UsbCompositeDevice.genericHidHandle,
|
return USB_DeviceHidRecv(UsbCompositeDevice.genericHidHandle,
|
||||||
USB_GENERIC_HID_ENDPOINT_OUT_INDEX,
|
USB_GENERIC_HID_ENDPOINT_OUT_INDEX,
|
||||||
|
|||||||
Reference in New Issue
Block a user