global: disable button init (pin used by RGB matrix)
This commit is contained in:
parent
d208297aa3
commit
4fba2fd7a4
2
global.c
2
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;
|
||||
|
Loading…
Reference in New Issue
Block a user