From b4d5cb93f19ad233bf1fb0eaafdb83a662498480 Mon Sep 17 00:00:00 2001 From: mbanth Date: Tue, 7 Dec 2021 10:35:20 +0000 Subject: [PATCH] Use an unsigned constant with an unsigned variable --- lib_xua/src/hid/hid.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_xua/src/hid/hid.xc b/lib_xua/src/hid/hid.xc index 5761a776..e51e6f1f 100644 --- a/lib_xua/src/hid/hid.xc +++ b/lib_xua/src/hid/hid.xc @@ -88,7 +88,7 @@ unsigned HidIsSetIdleSilenced( void ) */ static unsigned HidCalcNewReportTime( const unsigned currentPeriod, const unsigned reportTime, const unsigned reportToSetIdleInterval, const unsigned newPeriod ) { - unsigned nextReportTime = 0; + unsigned nextReportTime = 0U; if( HidFindSetIdleActivationPoint( currentPeriod, reportToSetIdleInterval )) { /* Activate immediately after sending the next HID Report */