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:
parent
254b54847f
commit
061b494348
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user