1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/lpc1768/periph/gpio.c: fix cpp.check shiftTooManyBitsSigned

This commit is contained in:
Francisco Molina 2019-11-21 09:08:19 +01:00
parent 254b54847f
commit 061b494348

View File

@ -231,7 +231,7 @@ void isr_eint3(void)
/* invoke all handlers */
for (int i = 0; i < NUMOF_IRQS; i++) {
if (status & (1 << i)) {
if (status & ((uint32_t)1 << i)) {
isr_ctx[i].cb(isr_ctx[i].arg);
LPC_GPIOINT->IO0IntClr |= (1 << i);