Skip to content

Commit 670788f

Browse files
brad112358fifieldt
authored andcommitted
Fix formatting
1 parent cbb6caa commit 670788f

File tree

1 file changed

+9
-9
lines changed
  • variants/nrf52840/diy/easy-nrf52-promicro_e22

1 file changed

+9
-9
lines changed

variants/nrf52840/diy/easy-nrf52-promicro_e22/variant.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ E22/NRF52 PRO MICRO PIN ASSIGNMENT
118118
#define LED_STATE_ON 1 // State when LED is lit
119119

120120
// Button
121-
//#define BUTTON_PIN // no button
121+
// #define BUTTON_PIN // no button
122122

123123
// GPS
124124
#define PIN_GPS_TX (32 + 1) // P1.01
@@ -139,8 +139,8 @@ E22/NRF52 PRO MICRO PIN ASSIGNMENT
139139
// Serial interfaces
140140
#define SPI_INTERFACES_COUNT 1
141141

142-
#define PIN_SPI_MISO (32 + 13) // P1.13
143-
#define PIN_SPI_MOSI (32 + 11) // P1.11
142+
#define PIN_SPI_MISO (32 + 13) // P1.13
143+
#define PIN_SPI_MOSI (32 + 11) // P1.11
144144
#define PIN_SPI_SCK (0 + 10) // P0.10
145145

146146
#define LORA_MISO PIN_SPI_MISO
@@ -151,21 +151,21 @@ E22/NRF52 PRO MICRO PIN ASSIGNMENT
151151
// LORA MODULE
152152
#define USE_SX1262
153153

154-
#define LORA_DIO0 (0 + 2) // P0.02 BUSY
155-
#define LORA_DIO1 (0 + 29) // P0.29 IRQ
156-
#define LORA_RESET (32 + 15) // P1.15 NRST
154+
#define LORA_DIO0 (0 + 2) // P0.02 BUSY
155+
#define LORA_DIO1 (0 + 29) // P0.29 IRQ
156+
#define LORA_RESET (32 + 15) // P1.15 NRST
157157

158158
// SX126X CONFIG
159159
#undef TX_GAIN_LORA
160-
#define TX_GAIN_LORA 22 // 8 for E22 900M30S, 25 for 900M33S, 22 for 3.7V battery powered 900M33S, 0 for 900M22S
160+
#define TX_GAIN_LORA 22 // 8 for E22 900M30S, 25 for 900M33S, 22 for 3.7V battery powered 900M33S, 0 for 900M22S
161161
#define SX126X_MAX_POWER 8 // 8 for 900M33S, 22 for 900M30S and 900M22S; defaults to 22 if not defined
162162

163163
#define SX126X_CS LORA_CS
164164
#define SX126X_DIO1 LORA_DIO1
165165
#define SX126X_BUSY LORA_DIO0
166166
#define SX126X_RESET LORA_RESET
167-
#define SX126X_RXEN (0 + 11) // P0.11
168-
#define SX126X_TXEN (32 + 0) // P1.00
167+
#define SX126X_RXEN (0 + 11) // P0.11
168+
#define SX126X_TXEN (32 + 0) // P1.00
169169

170170
/*
171171
| Mfr | Module | TCXO | RF Switch | Notes |

0 commit comments

Comments
 (0)