disable TX/RX pins for unusued uart
| 1889 | |
| 1890 | // disable TX/RX pins for unusued uart |
| 1891 | void UARTDriver::disable_rxtx(void) const |
| 1892 | { |
| 1893 | if (arx_line) { |
| 1894 | palSetLineMode(arx_line, PAL_MODE_INPUT); |
| 1895 | } |
| 1896 | if (atx_line) { |
| 1897 | palSetLineMode(atx_line, PAL_MODE_INPUT); |
| 1898 | } |
| 1899 | } |
| 1900 | |
| 1901 | #endif //CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS |