From 6dfc934d36c6b009d47b3670d164407a06e6d563 Mon Sep 17 00:00:00 2001 From: Angel Cascarino Date: Wed, 8 Dec 2021 11:14:52 +0000 Subject: [PATCH] Correct error in hidCaptureReportTime --- lib_xua/src/hid/hid_report_descriptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_xua/src/hid/hid_report_descriptor.c b/lib_xua/src/hid/hid_report_descriptor.c index b046a2e5..9de4810a 100644 --- a/lib_xua/src/hid/hid_report_descriptor.c +++ b/lib_xua/src/hid/hid_report_descriptor.c @@ -143,7 +143,7 @@ void hidCaptureReportTime( const unsigned id, const unsigned time ) { for( size_t idx = 0U; idx < HID_REPORT_COUNT; ++idx ) { if( id == hidGetElementReportId( hidReports[ idx ]->location )) { - s_hidNextReportTime[ idx ] = time; + s_hidReportTime[ idx ] = time; } } }