Skip to content

Commit

Permalink
Merge pull request #113 from WhereAreBugs/main
Browse files Browse the repository at this point in the history
Fixed an error that occurred when EXTENDED_PIN_MODE was disabled
  • Loading branch information
maxgerhardt authored Oct 30, 2023
2 parents 445dec7 + dd998b5 commit ed0c7f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/arduino/WInterrupts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void attachInterrupt(pin_size_t pin, voidFuncPtr callback, PinStatus mode)
gpio_interrupt_enable(GD_PORT_GET(pinname), GD_PIN_GET(pinname), callback, it_mode);
}

void detachInterrupt(uint32_t pin)
void detachInterrupt(pin_size_t pin)
{
PinName pinname = DIGITAL_TO_PINNAME(pin);
gpio_interrupt_disable(GD_PIN_GET(pinname));
Expand Down

0 comments on commit ed0c7f5

Please sign in to comment.