diff --git a/global.c b/global.c index cfef145..8d05708 100644 --- a/global.c +++ b/global.c @@ -260,6 +260,7 @@ void board_setup(void) led_off(); // switch off LED per default #endif // LED_PIN +/* // setup button #if defined(BUTTON_PIN) && defined(BUTTON_PRESSED) rcc_periph_clock_enable(GPIO_RCC(BUTTON_PIN)); // enable clock for button @@ -274,6 +275,7 @@ void board_setup(void) exti_enable_request(GPIO_EXTI(BUTTON_PIN)); // enable external interrupt nvic_enable_irq(GPIO_NVIC_EXTI_IRQ(BUTTON_PIN)); // enable interrupt #endif +*/ // reset user input buffer user_input_available = false;