We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f816e76 + 272d5cc commit b4c5fa7Copy full SHA for b4c5fa7
hardware/arduino/avr/cores/arduino/WInterrupts.c
@@ -231,7 +231,7 @@ void detachInterrupt(uint8_t interruptNum) {
231
GICR &= ~(1 << INT2); // atmega32
232
#elif defined(GIMSK) && defined(INT2)
233
GIMSK &= ~(1 << INT2);
234
- #else
+ #elif defined(INT2)
235
#warning detachInterrupt may need some more work for this cpu (case 2)
236
#endif
237
break;
0 commit comments