Use an unsigned constant with an unsigned variable

This commit is contained in:
mbanth
2021-12-07 10:35:20 +00:00
parent 1d22975fd2
commit b4d5cb93f1

View File

@@ -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 */