diff options
Diffstat (limited to 'app/main.c')
-rw-r--r-- | app/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,7 +16,8 @@ int main (void) rcc_periph_clock_enable (RCC_AFIO); nvic_set_priority (NVIC_SYSTICK_IRQ, 0x80); nvic_set_priority (NVIC_USART1_IRQ, 0x40); - gpio_set_mode (LED_BANK, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_OPENDRAIN, LED_GPIO); + gpio_set_mode (LED1_BANK, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_OPENDRAIN, LED1_GPIO); + gpio_set_mode (LED2_BANK, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_OPENDRAIN, LED2_GPIO); timex_init(); ticker_init(); |