瀏覽代碼

Update SPI.h

In the comments: "Teensy 3.x" changed to "Teensy LC". Or is the LC also part of the "3" family?
main
crteensy 9 年之前
父節點
當前提交
2401901b56
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      SPI.h

+ 2
- 2
SPI.h 查看文件

@@ -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);
}

Loading…
取消
儲存