Browse Source

[LPC176x] Fix Interrupt forward declarations (#11200)

Chris Pepper 7 years ago
parent
commit
5abf5bc8a7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/HAL/HAL_LPC1768/include/Arduino.h

+ 2
- 2
Marlin/src/HAL/HAL_LPC1768/include/Arduino.h View File

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

Loading…
Cancel
Save