Updated hwlock allocation

This commit is contained in:
Angel Cascarino
2022-01-04 13:23:15 +00:00
parent 1ae9c55477
commit fa9d483d2f

View File

@@ -20,7 +20,8 @@
* Each element in s_hidChangePending corresponds to an element in hidReports.
*/
hwlock_t hidStaticVarLock = hwlock_alloc();
hwlock_t hidStaticVarLock;
hidStaticVarLock = hwlock_alloc();
static unsigned s_hidChangePending[ HID_REPORT_COUNT ];
static unsigned char s_hidReportDescriptor[ HID_REPORT_DESCRIPTOR_MAX_LENGTH ];