Explorar el Código

fix serial6_set_tx

teensy4-core
thewknd hace 8 años
padre
commit
05d0e72ebe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      teensy3/serial6.c

+ 1
- 1
teensy3/serial6.c Ver fichero



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

Cargando…
Cancelar
Guardar