author | Darron Broad <darron@kewl.org> |
Tue, 06 Jan 2015 07:34:16 +0000 | |
changeset 2 | 020de51242a3 |
parent 1 | 9894e599472b |
child 3 | 1c744486588b |
miniblink.c | file | annotate | diff | comparison | revisions |
--- a/miniblink.c Tue Jan 06 07:32:35 2015 +0000 +++ b/miniblink.c Tue Jan 06 07:34:16 2015 +0000 @@ -26,7 +26,7 @@ /* Enable GPIOB clock. */ rcc_periph_clock_enable(RCC_GPIOB); - /* Set GPIO0 and GPIO1 (in GPIO port C) to 'output push-pull'. */ + /* Set GPIO0 and GPIO1 (in GPIO port B) to 'output push-pull'. */ gpio_mode_setup(GPIOB, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO0 | GPIO1); }