Skip to content

Commit 4af4c1a

Browse files
committed
Update config.h for BTTSKRMINIE3V2{,_USBMOD} to accommodate changes from other PRs
1 parent e49cd53 commit 4af4c1a

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

src/stm32f103/skrminie3v2/config.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
#ifndef DFU_DOWNLOAD_AVAILABLE
3333
#define DFU_DOWNLOAD_AVAILABLE 1
3434
#endif
35+
#ifndef DFU_WILL_DETACH
36+
#define DFU_WILL_DETACH 0
37+
#endif
3538

3639
/* There is a PCB-mounted status LED, but it's unreadable when the board is installed,
3740
* and additionally it's wired to SWDIO so toggling it manually is a bad idea */
@@ -89,8 +92,8 @@
8992
#define CMD_BOOT 1
9093
#endif
9194

92-
#ifndef USB_ALT
93-
#define USB_ALT 2
95+
#ifndef USB_DFU_ALTN
96+
#define USB_DFU_ALTN 2
9497
#endif
9598

9699
#endif

src/stm32f103/skrminie3v2_usbmod/config.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#ifndef DFU_DOWNLOAD_AVAILABLE
4242
#define DFU_DOWNLOAD_AVAILABLE 1
4343
#endif
44+
#ifndef DFU_WILL_DETACH
45+
#define DFU_WILL_DETACH 0
46+
#endif
4447

4548
/* There is a PCB-mounted status LED, but it's unreadable when the board is installed, and additionally it's wired to
4649
* SWDIO so toggling it manually is a bad idea. To restore reliable SWD communication, desolder either the status LED
@@ -96,8 +99,8 @@
9699
#define CMD_BOOT 1
97100
#endif
98101

99-
#ifndef USB_ALT
100-
#define USB_ALT 2
102+
#ifndef USB_DFU_ALTN
103+
#define USB_DFU_ALTN 2
101104
#endif
102105

103106
#endif

0 commit comments

Comments
 (0)