From 675b13ed2be1a85443d8b567e0c34aeb7a8c8568 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Fri, 11 Mar 2011 19:41:39 -0800 Subject: Fixed a small typo in exti test. --- examples/stm32/stm32-h103/exti_both/exti_both.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3