mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 01:46:09 +00:00
[CI] Format code according to conventions (#19265)
This commit is contained in:
parent
a23333eb58
commit
1786932d9f
1 changed files with 9 additions and 9 deletions
|
@ -126,7 +126,7 @@ static const USBDescriptor *usb_get_descriptor_cb(USBDriver *usbp, uint8_t dtype
|
||||||
uint16_t wValue = ((uint16_t)dtype << 8) | dindex;
|
uint16_t wValue = ((uint16_t)dtype << 8) | dindex;
|
||||||
uint16_t wLength = ((uint16_t)usbp->setup[7] << 8) | usbp->setup[6];
|
uint16_t wLength = ((uint16_t)usbp->setup[7] << 8) | usbp->setup[6];
|
||||||
desc.ud_string = NULL;
|
desc.ud_string = NULL;
|
||||||
desc.ud_size = get_usb_descriptor(wValue, wIndex, wLength, (const void **const)&desc.ud_string);
|
desc.ud_size = get_usb_descriptor(wValue, wIndex, wLength, (const void **const) & desc.ud_string);
|
||||||
if (desc.ud_string == NULL)
|
if (desc.ud_string == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue