From 9aa4fdc74173fde28c6195f56757882c7e9ffac7 Mon Sep 17 00:00:00 2001 From: patricklaf Date: Thu, 29 Jun 2023 16:58:34 +0200 Subject: [PATCH] Fix astyle check errors --- libraries/SPI/src/SPI.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/SPI/src/SPI.h b/libraries/SPI/src/SPI.h index 41c040c75a..78bf3b6eab 100644 --- a/libraries/SPI/src/SPI.h +++ b/libraries/SPI/src/SPI.h @@ -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); }