xtimer: fix cppcheck warnings

This commit is contained in:
Martine Lenders
2017-04-14 14:36:14 +02:00
committed by Oleg Hahm
parent 62ca7f9242
commit b2bc244ce9
+2
View File
@@ -51,6 +51,8 @@ static inline uint32_t _xtimer_lltimer_now(void)
*/
static inline uint32_t _xtimer_lltimer_mask(uint32_t val)
{
/* cppcheck-suppress shiftTooManyBits
* (reason: cppcheck bug. `XTIMER_MASK` is zero when `XTIMER_WIDTH` is 32) */
return val & ~XTIMER_MASK;
}