global: correct DFU pin for BusVoodoo v0.018
This commit is contained in:
parent
89b79db511
commit
11924349db
4
global.h
4
global.h
|
@ -359,8 +359,8 @@
|
|||
#define DFU_FORCE_VALUE 0 /**< button floating unpressed, connected to ground pressed to force DFU mode */
|
||||
#elif defined(BUSVOODOO)
|
||||
/* on BusVoodoo DFU input is on PB2 */
|
||||
#define DFU_FORCE_PORT B /**< GPIO port (port B) */
|
||||
#define DFU_FORCE_PIN 2 /**< GPIO pin (pin PB2) */
|
||||
#define DFU_FORCE_PORT C /**< GPIO port (port B) */
|
||||
#define DFU_FORCE_PIN 7 /**< GPIO pin (pin PB2) */
|
||||
#define DFU_FORCE_VALUE 1 /**< pin is pulled low, and goes high when shorted with VUSB */
|
||||
#else
|
||||
/* use the JNTRST pin as GPIO (this will disable the SWJ function, but we are not using it) */
|
||||
|
|
Loading…
Reference in New Issue