Skip to content

Commit

Permalink
Fix astyle check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklaf committed Jun 29, 2023
1 parent 9113ede commit 9aa4fdc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libraries/SPI/src/SPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,13 @@ class SPIClass {
return &(_spi.handle);
}

void attachSlaveInterrupt(uint8_t pin, callback_function_t callback) {
void attachSlaveInterrupt(uint8_t pin, callback_function_t callback)
{
::attachInterrupt(pin, callback, FALLING);
}

void detachSlaveInterrupt(uint8_t pin) {
void detachSlaveInterrupt(uint8_t pin)
{
::detachInterrupt(pin);
}

Expand Down

0 comments on commit 9aa4fdc

Please sign in to comment.