Skip to content

Commit b89623c

Browse files
committed
1 parent 7c51cb3 commit b89623c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

config.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@
124124
#define BUTTON_PIN 8
125125
#define BUTTON_PRESSED_STATE 1
126126

127-
/* USB Disc Pin Setup. USB DISC is PB9 */
128-
#define USB_DISC_BANK GPIOB
129-
#define USB_DISC_PIN 9
127+
/* USB Disc Pin Setup. USB DISC is PC12 */
128+
#define USB_DISC_BANK GPIOC
129+
#define USB_DISC_PIN 12
130130

131131
#elif defined TARGET_MAPLE_REV5
132132

@@ -140,10 +140,11 @@
140140
/* On the Mini, BUT is PB8 */
141141
#define BUTTON_BANK GPIOC
142142
#define BUTTON_PIN 9
143+
#define BUTTON_PRESSED_STATE 1
143144

144-
/* USB Disc Pin Setup. USB DISC is PB9 */
145-
#define USB_DISC_BANK GPIOB
146-
#define USB_DISC_PIN 9
145+
/* USB Disc Pin Setup. USB DISC is PC12 */
146+
#define USB_DISC_BANK GPIOC
147+
#define USB_DISC_PIN 12
147148

148149
#elif defined TARGET_GENERIC_F103_PC13
149150

0 commit comments

Comments
 (0)