forked from PAWPAW-Mirror/lib_xua
Use an unsigned constant with an unsigned variable
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user