Skip to content

Commit 19c6ac0

Browse files
sudaconejoninja
authored andcommitted
Fix UART variables
1 parent 9e79b41 commit 19c6ac0

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

src/machine/board_particle_argon.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ const (
4040
)
4141

4242
// UART
43+
var (
44+
Serial = USB
45+
UART0 = NRF_UART0
46+
)
47+
4348
const (
44-
Serial = USB
45-
UART0 = NRF_UART0
4649
UART_TX_PIN Pin = 6
4750
UART_RX_PIN Pin = 8
4851
)

src/machine/board_particle_boron.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ const (
4040
)
4141

4242
// UART
43+
var (
44+
Serial = USB
45+
UART0 = NRF_UART0
46+
)
47+
4348
const (
44-
Serial = USB
45-
UART0 = NRF_UART0
4649
UART_TX_PIN Pin = 6
4750
UART_RX_PIN Pin = 8
4851
)

src/machine/board_particle_xenon.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ const (
4040
)
4141

4242
// UART
43+
var (
44+
Serial = USB
45+
UART0 = NRF_UART0
46+
)
47+
4348
const (
44-
Serial = USB
45-
UART0 = NRF_UART0
4649
UART_TX_PIN Pin = 6
4750
UART_RX_PIN Pin = 8
4851
)

0 commit comments

Comments
 (0)