Skip to content

Commit

Permalink
cores/spresense/WInterrupt: Fix compile warning
Browse files Browse the repository at this point in the history
Fix warning by default argument given in attach_interrupt() function.
  • Loading branch information
SPRESENSE committed Jan 31, 2024
1 parent d9b7aff commit e1e20e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void irq_restore(uint16_t flags)
}
} // extern "C"

void attachInterrupt(uint8_t interrupt, void (*isr)(void), int mode,bool filter = true)
void attachInterrupt(uint8_t interrupt, void (*isr)(void), int mode, bool filter)
{
uint8_t _pin = pin_convert(interrupt);
if (_pin == PIN_NOT_ASSIGNED)
Expand Down

0 comments on commit e1e20e1

Please sign in to comment.