Browse Source

T4 Hardware Serial - Fix Serial2

Wrong RX_Select value
main
Kurt Eckhardt 5 years ago
parent
commit
9c49eeb0fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/HardwareSerial.cpp

+ 1
- 1
teensy4/HardwareSerial.cpp View File

@@ -440,7 +440,7 @@ static HardwareSerial::hardware_t UART4_Hardware = {
IOMUXC_LPUART4_RX_SELECT_INPUT,
2, // page 521
2, // page 520
0, // page 858
2, // page 858
};
HardwareSerial Serial2(&IMXRT_LPUART4, &UART4_Hardware, tx_buffer2, SERIAL2_TX_BUFFER_SIZE,
rx_buffer2, SERIAL2_RX_BUFFER_SIZE);

Loading…
Cancel
Save