From 72c433919f062c393a449204701a75f48a3b0359 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Mon, 17 Feb 2025 13:33:44 -0800 Subject: [PATCH] [Watchdog] Disable AVR support since it's used internally and can't(?) coexist --- users/drashna/features/watchdog.c | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/users/drashna/features/watchdog.c b/users/drashna/features/watchdog.c index f89ae88126..7be4efac32 100644 --- a/users/drashna/features/watchdog.c +++ b/users/drashna/features/watchdog.c @@ -70,28 +70,5 @@ void suspend_wakeup_init_watchdog(void) { } #elif defined(__AVR__) -# include -# pragma message "AVR Watchdog causes issues, likely due to the way the matrix scan is done. Disable this." - -void watchdog_init(void) { - wdt_enable(WDTO_2S); -} - -void watchdog_task(void) { - wdt_reset(); -} - -void watchdog_shutdown(void) { - wdt_disable(); -} - -void suspend_power_down_watchdog(void) { - wdt_disable(); -} - -void suspend_wakeup_init_watchdog(void) { - wdt_enable(WDTO_2S); - clear_keyboard(); -} - +# error AVR Watchdog causes issues, likely due to the way the matrix scan is done. Disable this. #endif // __AVR__