aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/platform.c
diff options
context:
space:
mode:
authorGareth McMullin2011-02-05 12:24:13 +1300
committerGareth McMullin2011-02-05 12:24:13 +1300
commitd0a1c7f4df964952984285da741a36f628136f23 (patch)
tree9a1c2731542fbc8dfdbe749eb2b9fc110ffd6d58 /src/stm32/platform.c
parent69d790fcf6f2a1c62ad1898031b4c8c0571bad05 (diff)
Fixed configuration of JTAG signals.
Diffstat (limited to 'src/stm32/platform.c')
-rw-r--r--src/stm32/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/platform.c b/src/stm32/platform.c
index bdf2b33..44e0f62 100644
--- a/src/stm32/platform.c
+++ b/src/stm32/platform.c
@@ -67,7 +67,7 @@ platform_init(void)
gpio_set_mode(JTAG_PORT, GPIO_MODE_OUTPUT_10_MHZ,
GPIO_CNF_OUTPUT_PUSHPULL,
- TMS_PIN | TCK_PIN | TDO_PIN);
+ TMS_PIN | TCK_PIN | TDI_PIN);
gpio_set_mode(LED_PORT, GPIO_MODE_OUTPUT_2_MHZ,
GPIO_CNF_OUTPUT_PUSHPULL,