File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ void initVariant()
63
63
led_pwm_init (LED_RGB_GREEN_IDX, LED_RGB_GREEN_PIN);
64
64
}
65
65
66
- static void switch_antenna (bool useExternal) {
66
+ void switch_antenna (bool useExternal) {
67
67
if (useExternal) {
68
68
digitalWrite (ANTENNA_SWITCH_1, LOW);
69
69
digitalWrite (ANTENNA_SWITCH_2, HIGH);
Original file line number Diff line number Diff line change @@ -186,7 +186,9 @@ static const uint8_t SCK1 = PIN_SPI1_SCK;
186
186
#define USB_MSC_BLOCK_SIZE 512
187
187
#define USB_MSC_BLOCK_COUNT ((2*1024*1024) / USB_MSC_BLOCK_SIZE)
188
188
189
- void switch_antenna (bool useExternal );
189
+ #define EXTERNAL_FLASH_USE_QSPI
190
+
191
+ static void switch_antenna (bool useExternal );
190
192
191
193
// led pwm
192
194
void led_pwm_init (uint32_t led_index , uint32_t led_pin );
@@ -196,7 +198,7 @@ void pwm_teardown(NRF_PWM_Type* pwm);
196
198
void ledWrite (uint32_t led_pin , uint8_t value );
197
199
void rgbLedWrite (uint8_t red , uint8_t green , uint8_t blue );
198
200
static uint16_t led_duty_cycles [PWM0_CH_NUM ] = { 0 };
199
- #define EXTERNAL_FLASH_USE_QSPI
201
+
200
202
201
203
#ifdef __cplusplus
202
204
}
You can’t perform that action at this time.
0 commit comments