diff options
Diffstat (limited to 'tmk_core/protocol/chibios/usb_main.c')
| -rw-r--r-- | tmk_core/protocol/chibios/usb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index b798a8d1cb..b8497684d6 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c | |||
| @@ -80,7 +80,7 @@ static const USBDescriptor *usb_get_descriptor_cb(USBDriver *usbp, uint8_t dtype | |||
| 80 | 80 | ||
| 81 | static USBDescriptor descriptor; | 81 | static USBDescriptor descriptor; |
| 82 | descriptor.ud_string = NULL; | 82 | descriptor.ud_string = NULL; |
| 83 | descriptor.ud_size = get_usb_descriptor(setup->wValue.word, setup->wIndex, setup->wLength, (const void **const) & descriptor.ud_string); | 83 | descriptor.ud_size = get_usb_descriptor(setup->wValue.word, setup->wIndex, setup->wLength, (const void **const)&descriptor.ud_string); |
| 84 | 84 | ||
| 85 | if (descriptor.ud_string == NULL) { | 85 | if (descriptor.ud_string == NULL) { |
| 86 | return NULL; | 86 | return NULL; |
