stm32f4: clarify input mode comment

Based on irc discussion, make the comment more accurately reflect what
the code is doing.
This commit is contained in:
Karl Palsson
2016-11-23 17:36:01 +00:00
parent ed6973584c
commit c22200ceb5

View File

@@ -43,7 +43,7 @@ static void button_setup(void)
/* Enable GPIOA clock. */
rcc_periph_clock_enable(RCC_GPIOA);
/* Set GPIO0 (in GPIO port A) to 'input open-drain'. */
/* Set GPIOA0 to 'input floating'. */
gpio_mode_setup(GPIOA, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO0);
}