Skip to content

Commit dea25a6

Browse files
author
Matthew West
committed
Switch back to included device trees - possibly it was a regression on upgraded 7.11.
1 parent 08ea892 commit dea25a6

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

source/c_uart.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ BBIO_err uart_setup(const char *dt)
3838
BBIO_err uart_cleanup(void)
3939
{
4040
BBIO_err e1, e2, e3, e4, e5;
41-
e1 = unload_device_tree("BB-UART1");
42-
e2 = unload_device_tree("BB-UART2");
43-
e3 = unload_device_tree("BB-UART3");
44-
e4 = unload_device_tree("BB-UART4");
45-
e5 = unload_device_tree("BB-UART5");
41+
e1 = unload_device_tree("ADAFRUIT-UART1");
42+
e2 = unload_device_tree("ADAFRUIT-UART2");
43+
e3 = unload_device_tree("ADAFRUIT-UART3");
44+
e4 = unload_device_tree("ADAFRUIT-UART4");
45+
e5 = unload_device_tree("ADAFRUIT-UART5");
4646
if (e1 != BBIO_OK)
4747
return e1;
4848
if (e2 != BBIO_OK)

source/common.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ typedef struct uart_t {
158158
} uart_t;
159159

160160
uart_t uart_table[] = {
161-
{ "UART1", "/dev/ttyO1", "BB-UART1", "P9_26", "P9_24"},
162-
{ "UART2", "/dev/ttyO2", "BB-UART2", "P9_22", "P9_21"},
163-
{ "UART3", "/dev/ttyO3", "BB-UART3", "P9_42", ""},
164-
{ "UART4", "/dev/ttyO4", "BB-UART4", "P9_11", "P9_13"},
165-
{ "UART5", "/dev/ttyO5", "BB-UART5", "P8_38", "P8_37"},
161+
{ "UART1", "/dev/ttyO1", "ADAFRUIT-UART1", "P9_26", "P9_24"},
162+
{ "UART2", "/dev/ttyO2", "ADAFRUIT-UART2", "P9_22", "P9_21"},
163+
{ "UART3", "/dev/ttyO3", "ADAFRUIT-UART3", "P9_42", ""},
164+
{ "UART4", "/dev/ttyO4", "ADAFRUIT-UART4", "P9_11", "P9_13"},
165+
{ "UART5", "/dev/ttyO5", "ADAFRUIT-UART5", "P8_38", "P8_37"},
166166
{ NULL, NULL, 0 }
167167
};
168168

0 commit comments

Comments
 (0)