aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/stm32/stm32-h103/exti_both/exti_both.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/stm32-h103/exti_both/exti_both.c b/examples/stm32/stm32-h103/exti_both/exti_both.c
index da4c5b6..edfc676 100644
--- a/examples/stm32/stm32-h103/exti_both/exti_both.c
+++ b/examples/stm32/stm32-h103/exti_both/exti_both.c
@@ -53,7 +53,7 @@ void exti_setup(void)
/* Enable EXTI0 interrupt */
nvic_enable_irq(NVIC_EXTI0_IRQ);
- /* Set GPIO0 (in GPIO port A) to 'input open-drain'. */
+ /* Set GPIO0 (in GPIO port A) to 'input float'. */
gpio_set_mode(GPIOA, GPIO_MODE_INPUT,
GPIO_CNF_INPUT_FLOAT, GPIO0);