[LPC176x] Fix Interrupt forward declarations (#11200)

2.0.x
Chris Pepper 7 years ago committed by Scott Lahteine
parent cbea385ed7
commit 5abf5bc8a7

@ -69,8 +69,8 @@ typedef uint8_t byte;
//Interrupts
void cli(void); // Disable
void sei(void); // Enable
void attachInterrupt(uint32_t pin, void (*callback)(void), uint32_t mode);
void detachInterrupt(uint32_t pin);
void attachInterrupt(const pin_t pin, void (*callback)(void), uint32_t mode);
void detachInterrupt(const pin_t pin);
extern "C" void GpioEnableInt(uint32_t port, uint32_t pin, uint32_t mode);
extern "C" void GpioDisableInt(uint32_t port, uint32_t pin);

Loading…
Cancel
Save