stm32f4: timer: correct misleading comments.
Code was correct, comment was badly imported.
This commit is contained in:
@@ -61,10 +61,10 @@ static void clock_setup(void)
|
|||||||
|
|
||||||
static void gpio_setup(void)
|
static void gpio_setup(void)
|
||||||
{
|
{
|
||||||
/* Enable GPIOC clock. */
|
/* Enable GPIO clock for leds. */
|
||||||
rcc_periph_clock_enable(RCC_GPIOD);
|
rcc_periph_clock_enable(RCC_GPIOD);
|
||||||
|
|
||||||
/* Set GPIO12 (in GPIO port C) to 'output push-pull'. */
|
/* Set GPIO12 (in GPIO port D) to 'output push-pull'. */
|
||||||
gpio_mode_setup(GPIOD, GPIO_MODE_OUTPUT,
|
gpio_mode_setup(GPIOD, GPIO_MODE_OUTPUT,
|
||||||
GPIO_PUPD_NONE, GPIO12 | GPIO13);
|
GPIO_PUPD_NONE, GPIO12 | GPIO13);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user