PIO HAL: Enable UART. am: 04e9493ab0
am: ffc818d90b
* commit 'ffc818d90bbba450afb41fe435040fca392384e3':
PIO HAL: Enable UART.
Change-Id: I5876575fa2f2e55d4d757ff819ce8ef533e86c15
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 @@
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");