From 4fba2fd7a49d7f688b0eae7fb708a42ac1138744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Tue, 24 May 2022 14:17:04 +0200 Subject: [PATCH] global: disable button init (pin used by RGB matrix) --- global.c | 2 ++ 1 file changed, 2 insertions(+) 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;