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()
6363 led_pwm_init (LED_RGB_GREEN_IDX, LED_RGB_GREEN_PIN);
6464}
6565
66- static void switch_antenna (bool useExternal) {
66+ void switch_antenna (bool useExternal) {
6767 if (useExternal) {
6868 digitalWrite (ANTENNA_SWITCH_1, LOW);
6969 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;
186186#define USB_MSC_BLOCK_SIZE 512
187187#define USB_MSC_BLOCK_COUNT ((2*1024*1024) / USB_MSC_BLOCK_SIZE)
188188
189- void switch_antenna (bool useExternal );
189+ #define EXTERNAL_FLASH_USE_QSPI
190+
191+ static void switch_antenna (bool useExternal );
190192
191193// led pwm
192194void led_pwm_init (uint32_t led_index , uint32_t led_pin );
@@ -196,7 +198,7 @@ void pwm_teardown(NRF_PWM_Type* pwm);
196198void ledWrite (uint32_t led_pin , uint8_t value );
197199void rgbLedWrite (uint8_t red , uint8_t green , uint8_t blue );
198200static uint16_t led_duty_cycles [PWM0_CH_NUM ] = { 0 };
199- #define EXTERNAL_FLASH_USE_QSPI
201+
200202
201203#ifdef __cplusplus
202204}
You can’t perform that action at this time.
0 commit comments