aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/platform.c
diff options
context:
space:
mode:
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,