Fix the formatting

This commit is contained in:
Wojtek Siudzinski
2020-02-16 19:04:22 +01:00
committed by Daniel Esteban
parent f0fd24e7ba
commit e29379ce3a
4 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -64,4 +64,4 @@ const (
EXTERNAL_UFL_PIN Pin = 25
NFC1_PIN Pin = 9
NFC2_PIN Pin = 10
)
)
+9 -9
View File
@@ -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
)
)
+1 -1
View File
@@ -53,4 +53,4 @@ const (
EXTERNAL_UFL_PIN = 25
NFC1_PIN = 9
NFC2_PIN = 10
)
)
-1
View File
@@ -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)