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

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

Loading…
Cancel
Save