STM32VLDISCOVERY: Fix some incorrect GPIO comments.

This commit is contained in:
Uwe Hermann
2011-02-09 02:38:16 +01:00
parent 5bfffcbb29
commit 1cb45d8888
3 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ void gpio_setup(void)
/* Using API functions: */
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPCEN);
/* Set GPIO12 (in GPIO port C) to 'output push-pull'. */
/* Set GPIO8 (in GPIO port C) to 'output push-pull'. */
/* Manually: */
// GPIOC_CRH = (GPIO_CNF_OUTPUT_PUSHPULL << (((8 - 8) * 4) + 2));
// GPIOC_CRH |= (GPIO_MODE_OUTPUT_2_MHZ << ((8 - 8) * 4));