瀏覽代碼

T4 fix typo in HardwareSerial

rx_pins should depend on cnt_rx_pins not cnt_tx_pins, currentlty the same so does not impact
teensy4-core
Kurt Eckhardt 5 年之前
父節點
當前提交
fd20a48a80
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      teensy4/HardwareSerial.h

+ 1
- 1
teensy4/HardwareSerial.h 查看文件

@@ -146,7 +146,7 @@ public:
void (*serial_event_handler_check)(void);
volatile uint32_t &ccm_register;
const uint32_t ccm_value;
pin_info_t rx_pins[cnt_tx_pins];
pin_info_t rx_pins[cnt_rx_pins];
pin_info_t tx_pins[cnt_tx_pins];
const uint8_t cts_pin;
const uint8_t cts_mux_val;

Loading…
取消
儲存