mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Increase the size of the USB Descriptor array to take extra char
This commit is contained in:
parent
9f44e588f7
commit
2f9c9df736
@ -33,7 +33,7 @@
|
||||
#include <pios_usbhook.h> /* PIOS_USBHOOK_* */
|
||||
#include <pios_usb_util.h> /* PIOS_USB_UTIL_AsciiToUtf8 */
|
||||
|
||||
static const uint8_t usb_product_id[20] = {
|
||||
static const uint8_t usb_product_id[22] = {
|
||||
sizeof(usb_product_id),
|
||||
USB_DESC_TYPE_STRING,
|
||||
'O', 0,
|
||||
@ -45,7 +45,7 @@ static const uint8_t usb_product_id[20] = {
|
||||
'M', 0,
|
||||
'i', 0,
|
||||
'n', 0,
|
||||
'i', 0,
|
||||
'i', 0,
|
||||
};
|
||||
|
||||
static uint8_t usb_serial_number[2 + PIOS_SYS_SERIAL_NUM_ASCII_LEN * 2 + (sizeof(PIOS_USB_BOARD_SN_SUFFIX) - 1) * 2] = {
|
||||
|
Loading…
Reference in New Issue
Block a user