diff options
Diffstat (limited to 'firmware/usbstack')
-rw-r--r-- | firmware/usbstack/usb_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index 915c15087f..5a748bf55f 100644 --- a/firmware/usbstack/usb_core.c +++ b/firmware/usbstack/usb_core.c | |||
@@ -370,11 +370,11 @@ static void set_serial_descriptor(void) | |||
370 | 370 | ||
371 | for (i = 10; i < 20; i++) | 371 | for (i = 10; i < 20; i++) |
372 | { | 372 | { |
373 | x = betoh16(identify[i]); | 373 | x = identify[i]; |
374 | *p++ = hex[(x >> 4) & 0xF]; | ||
375 | *p++ = hex[(x >> 0) & 0xF]; | ||
376 | *p++ = hex[(x >> 12) & 0xF]; | 374 | *p++ = hex[(x >> 12) & 0xF]; |
377 | *p++ = hex[(x >> 8) & 0xF]; | 375 | *p++ = hex[(x >> 8) & 0xF]; |
376 | *p++ = hex[(x >> 4) & 0xF]; | ||
377 | *p++ = hex[(x >> 0) & 0xF]; | ||
378 | } | 378 | } |
379 | usb_string_iSerial.bLength=82; | 379 | usb_string_iSerial.bLength=82; |
380 | } | 380 | } |