Skip to content

Commit cd66b99

Browse files
committed
MKRWAN1310: fix FLASH_CS define
1 parent d44a929 commit cd66b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/mkrwan1300/variant.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ extern Uart Serial2;
206206
// MKRWAN1310 compatibility layer
207207
#if defined(USE_BQ24195L_PMIC)
208208
// ADC_BATTERY is not connected as an ADC but as the flash CS
209-
#define FLASH_CS (ADC_BATTERY)
209+
#define FLASH_CS (32u)
210210
#undef ADC_BATTERY
211211
// PA28 is connected to IRQ capable PIN
212212
#define LORA_IRQ (31u)

0 commit comments

Comments
 (0)