mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
Fix the formatting
This commit is contained in:
committed by
Daniel Esteban
parent
f0fd24e7ba
commit
e29379ce3a
@@ -64,4 +64,4 @@ const (
|
||||
EXTERNAL_UFL_PIN Pin = 25
|
||||
NFC1_PIN Pin = 9
|
||||
NFC2_PIN Pin = 10
|
||||
)
|
||||
)
|
||||
|
||||
@@ -51,14 +51,14 @@ const (
|
||||
|
||||
// u-blox coprocessor
|
||||
const (
|
||||
UBLOX_TXD_PIN = 37
|
||||
UBLOX_RXD_PIN = 36
|
||||
UBLOX_CTS_PIN = 38
|
||||
UBLOX_RTS_PIN = 39
|
||||
UBLOX_RESET_PIN = 16
|
||||
UBLOX_POWER_ON_PIN = 24
|
||||
UBLOX_BUFF_EN_PIN = 25
|
||||
UBLOX_VINT_PIN = 2
|
||||
UBLOX_TXD_PIN = 37
|
||||
UBLOX_RXD_PIN = 36
|
||||
UBLOX_CTS_PIN = 38
|
||||
UBLOX_RTS_PIN = 39
|
||||
UBLOX_RESET_PIN = 16
|
||||
UBLOX_POWER_ON_PIN = 24
|
||||
UBLOX_BUFF_EN_PIN = 25
|
||||
UBLOX_VINT_PIN = 2
|
||||
)
|
||||
|
||||
// Other periferals
|
||||
@@ -70,4 +70,4 @@ const (
|
||||
EXTERNAL_UFL_PIN = 25
|
||||
NFC1_PIN = 9
|
||||
NFC2_PIN = 10
|
||||
)
|
||||
)
|
||||
|
||||
@@ -53,4 +53,4 @@ const (
|
||||
EXTERNAL_UFL_PIN = 25
|
||||
NFC1_PIN = 9
|
||||
NFC2_PIN = 10
|
||||
)
|
||||
)
|
||||
|
||||
@@ -86,7 +86,6 @@ func (uart UART) Configure(config UARTConfig) {
|
||||
} else {
|
||||
uart.setPins(config.TX, config.RX)
|
||||
}
|
||||
|
||||
|
||||
nrf.UART0.ENABLE.Set(nrf.UART_ENABLE_ENABLE_Enabled)
|
||||
nrf.UART0.TASKS_STARTTX.Set(1)
|
||||
|
||||
Reference in New Issue
Block a user