Skip to content

Commit 0b44d0b

Browse files
ardnewdeadprogram
authored andcommitted
add UART0 as alias for UART1
1 parent 6275b3a commit 0b44d0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/machine/board_teensy40.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ const (
136136
)
137137

138138
var (
139+
UART0 = &UART1 // alias UART0 to UART1
139140
UART1 = UART{
140141
Bus: nxp.LPUART6,
141142
Buffer: NewRingBuffer(),

0 commit comments

Comments
 (0)