Skip to content

Commit

Permalink
wtf, how did I miss this?
Browse files Browse the repository at this point in the history
  • Loading branch information
SpenceKonde committed Mar 23, 2022
1 parent 5b4af5a commit fbc321a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions megaavr/libraries/SPI/src/SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit fbc321a

Please sign in to comment.