Browse Source

fix serial6_set_tx

teensy4-core
thewknd 8 years ago
parent
commit
05d0e72ebe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/serial6.c

+ 1
- 1
teensy3/serial6.c View File

@@ -171,7 +171,7 @@ void serial6_set_tx(uint8_t pin, uint8_t opendrain)

if (opendrain) pin |= 128;
if (pin == tx_pin_num) return;
if ((SIM_SCGC1 |= SIM_SCGC1_UART5)) {
if ((SIM_SCGC1 & SIM_SCGC1_UART5)) {
switch (tx_pin_num & 127) {
case 48: CORE_PIN48_CONFIG = 0; break; // PTE24
}

Loading…
Cancel
Save