Skip to content

Commit 8a2e4d1

Browse files
author
Matthew West
committed
Switch from this library's Device Tree Overlays to those included on every image.
1 parent d6fe11e commit 8a2e4d1

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
@@ -41,9 +41,9 @@ int uart_setup(const char *dt)
4141

4242
void uart_cleanup(void)
4343
{
44-
unload_device_tree("ADAFRUIT-UART1");
45-
unload_device_tree("ADAFRUIT-UART2");
46-
unload_device_tree("ADAFRUIT-UART3");
47-
unload_device_tree("ADAFRUIT-UART4");
48-
unload_device_tree("ADAFRUIT-UART5");
44+
unload_device_tree("BB-UART1");
45+
unload_device_tree("BB-UART2");
46+
unload_device_tree("BB-UART3");
47+
unload_device_tree("BB-UART4");
48+
unload_device_tree("BB-UART5");
4949
}

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", "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"},
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"},
166166
{ NULL, NULL, 0 }
167167
};
168168

0 commit comments

Comments
 (0)