From 0b120a328689d5948b6fe86d7aa0404783903448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Fri, 13 Oct 2017 22:49:09 +0200 Subject: [PATCH] Fix generic HID descriptor enumeration error by making UsbGenericHidReportDescriptor extern. --- right/src/usb_descriptors/usb_descriptor_generic_hid_report.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/right/src/usb_descriptors/usb_descriptor_generic_hid_report.h b/right/src/usb_descriptors/usb_descriptor_generic_hid_report.h index b51eca7..71374a0 100644 --- a/right/src/usb_descriptors/usb_descriptor_generic_hid_report.h +++ b/right/src/usb_descriptors/usb_descriptor_generic_hid_report.h @@ -12,6 +12,6 @@ // Variables: - uint8_t UsbGenericHidReportDescriptor[USB_GENERIC_HID_REPORT_DESCRIPTOR_LENGTH]; + extern uint8_t UsbGenericHidReportDescriptor[USB_GENERIC_HID_REPORT_DESCRIPTOR_LENGTH]; #endif