diff options
-rw-r--r-- | pio_hal/pio_hal.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pio_hal/pio_hal.cc b/pio_hal/pio_hal.cc index 1d778d3..d430108 100644 --- a/pio_hal/pio_hal.cc +++ b/pio_hal/pio_hal.cc @@ -276,9 +276,8 @@ static int register_device(const peripheral_io_module_t* dev, const char* uart_pins[2] = {"IO0", "IO1"}; callbacks->register_simple_source("UART", uart_pins, 2); - // TODO(leecam): Add UART back in once UART code lands - //callbacks->register_uart_bus("UART1", "/dev/ttyMFD1"); - //callbacks->set_uart_pin_mux("UART1", "UART"); + callbacks->register_uart_bus("UART1", "/dev/ttyMFD1"); + callbacks->set_uart_pin_mux("UART1", "UART"); // Enable the Tri-State set_pin_direction(214, "out"); |