global: fix typo
This commit is contained in:
parent
e8d20146a2
commit
bebb9f37ac
6
global.h
6
global.h
|
@ -358,9 +358,9 @@
|
||||||
#define DFU_FORCE_PIN BUTTON_PIN /**< button pin */
|
#define DFU_FORCE_PIN BUTTON_PIN /**< button pin */
|
||||||
#define DFU_FORCE_VALUE 0 /**< button floating unpressed, connected to ground pressed to force DFU mode */
|
#define DFU_FORCE_VALUE 0 /**< button floating unpressed, connected to ground pressed to force DFU mode */
|
||||||
#elif defined(BUSVOODOO)
|
#elif defined(BUSVOODOO)
|
||||||
/* on BusVoodoo DFU input is on PB2 */
|
/* on BusVoodoo DFU input is on PC7 */
|
||||||
#define DFU_FORCE_PORT C /**< GPIO port (port B) */
|
#define DFU_FORCE_PORT C /**< GPIO port (port C) */
|
||||||
#define DFU_FORCE_PIN 7 /**< GPIO pin (pin PB2) */
|
#define DFU_FORCE_PIN 7 /**< GPIO pin (pin PC7) */
|
||||||
#define DFU_FORCE_VALUE 1 /**< pin is pulled low, and goes high when shorted with VUSB */
|
#define DFU_FORCE_VALUE 1 /**< pin is pulled low, and goes high when shorted with VUSB */
|
||||||
#else
|
#else
|
||||||
/* use the JNTRST pin as GPIO (this will disable the SWJ function, but we are not using it) */
|
/* use the JNTRST pin as GPIO (this will disable the SWJ function, but we are not using it) */
|
||||||
|
|
Loading…
Reference in New Issue