global: correct DFU pin for BusVoodoo v0.018

This commit is contained in:
King Kévin 2017-12-12 13:57:30 +01:00
parent 89b79db511
commit 11924349db
1 changed files with 2 additions and 2 deletions

View File

@ -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) */