Pārlūkot izejas kodu

Merge pull request #6 from crteensy/patch-1

Update SPI.h
main
Paul Stoffregen pirms 9 gadiem
vecāks
revīzija
a5977d6d1f
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      SPI.h

+ 2
- 2
SPI.h Parādīt failu

@@ -865,7 +865,7 @@ public:
inline static void attachInterrupt() { }
inline static void detachInterrupt() { }

// Teensy 3.x can use alternate pins for these 3 SPI signals.
// Teensy LC can use alternate pins for these 3 SPI signals.
inline static void setMOSI(uint8_t pin) __attribute__((always_inline)) {
SPCR.setMOSI(pin);
}
@@ -1037,7 +1037,7 @@ public:
inline static void attachInterrupt() { }
inline static void detachInterrupt() { }

// Teensy 3.x can use alternate pins for these 3 SPI signals.
// Teensy LC can use alternate pins for these 3 SPI signals.
inline static void setMOSI(uint8_t pin) __attribute__((always_inline)) {
SPCR1.setMOSI(pin);
}

Notiek ielāde…
Atcelt
Saglabāt