i2c-master: f0: fix leds
This commit is contained in:
parent
c802ef055c
commit
43a891d5cd
1 changed files with 2 additions and 2 deletions
|
|
@ -87,8 +87,8 @@ int main(void)
|
|||
rcc_clock_setup_in_hsi48_out_48mhz();
|
||||
/* green led for ticking */
|
||||
rcc_periph_clock_enable(RCC_GPIOC);
|
||||
gpio_mode_setup(LED_DISCO_GREEN_PORT, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, LED_DISCO_GREEN_PORT);
|
||||
gpio_set(LED_DISCO_GREEN_PORT, LED_DISCO_GREEN_PORT);
|
||||
gpio_mode_setup(LED_DISCO_GREEN_PORT, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, LED_DISCO_GREEN_PIN);
|
||||
gpio_set(LED_DISCO_GREEN_PORT, LED_DISCO_GREEN_PIN);
|
||||
|
||||
setup();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue