aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2011-03-11 19:41:39 -0800
committerPiotr Esden-Tempski2011-03-11 19:41:39 -0800
commit675b13ed2be1a85443d8b567e0c34aeb7a8c8568 (patch)
tree8d38d210a73241def3421cb8854110a5903855e5
parent70736374306b2b04d968d308d944a3f0ad0f8830 (diff)
Fixed a small typo in exti test.
-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);