Browse Source

Merge pull request #155 from sumotoy/master

missed pin 26 in SPIFIFO
teensy4-core
Paul Stoffregen 8 years ago
parent
commit
f315eb80f5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      teensy3/SPIFIFO.h

+ 5
- 0
teensy3/SPIFIFO.h View File

@@ -237,6 +237,11 @@ public:
} else if (pin == 15) { // PTC0
CORE_PIN15_CONFIG = PORT_PCR_MUX(2);
p = 0x10;
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
} else if (pin == 26) {
CORE_PIN26_CONFIG = PORT_PCR_MUX(2);
p = 0x01;
#endif
} else {
reg = portOutputRegister(pin);
pinMode(pin, OUTPUT);

Loading…
Cancel
Save