We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf415d commit fc5d32eCopy full SHA for fc5d32e
supervisor/shared/usb/usb.c
@@ -143,11 +143,12 @@ void usb_get_boot_py_data(uint8_t *temp_storage, size_t temp_storage_size) {
143
if (usb_identification_allocation) {
144
memcpy(temp_storage, usb_identification_allocation->ptr, sizeof(usb_identification_t));
145
free_memory(usb_identification_allocation);
146
+ }
147
#else
148
if (false) {
- // Nothing
149
- #endif
150
- } else {
+ #endif
151
+ else {
152
usb_identification_t defaults;
153
// This compiles to less code than using a struct initializer.
154
defaults.vid = USB_VID;
0 commit comments