diff --git a/examples/stm32/stm32-h103/exti_both/exti_both.c b/examples/stm32/stm32-h103/exti_both/exti_both.c index da4c5b60..edfc676d 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);