Commit c2e69012 authored by Sandeep Mistry's avatar Sandeep Mistry

Remove setting pinMode in Uart::begin

parent be09d595
......@@ -35,9 +35,6 @@ void Uart::begin(unsigned long baudrate)
void Uart::begin(unsigned long baudrate, uint16_t /*config*/)
{
pinMode(uc_pinTX, OUTPUT);
pinMode(uc_pinRX, INPUT);
nrf_uart_txrx_pins_set(nrfUart, uc_pinTX, uc_pinRX);
nrf_uart_configure(nrfUart, NRF_UART_PARITY_EXCLUDED, NRF_UART_HWFC_DISABLED);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment