diff --git a/megaavr/libraries/SPI/src/SPI.cpp b/megaavr/libraries/SPI/src/SPI.cpp index 7ffe49f9..e49d5fb2 100644 --- a/megaavr/libraries/SPI/src/SPI.cpp +++ b/megaavr/libraries/SPI/src/SPI.cpp @@ -171,7 +171,7 @@ void SPIClass::end() { } #ifdef CORE_ATTACH_OLD -void SPIClass::usingInterrupt(int interruptNumber) { +void SPIClass::usingInterrupt(uint8_t interruptNumber) { if ((interruptNumber == NOT_AN_INTERRUPT)) { return; } @@ -194,7 +194,7 @@ void SPIClass::usingInterrupt(int interruptNumber) { } } -void SPIClass::notUsingInterrupt(int interruptNumber) { +void SPIClass::notUsingInterrupt(uint8_t interruptNumber) { if ((interruptNumber == NOT_AN_INTERRUPT)) { return; }