qmk_firmware/keyboards/lfkeyboards/lfkpad/lfkpad.c
2024-07-26 22:02:51 -07:00

19 lines
361 B
C

#include "quantum.h"
#include <avr/wdt.h>
void matrix_init_kb(void) {
matrix_init_user();
#ifdef WATCHDOG_ENABLE
// This is done after turning the layer LED red, if we're caught in a loop
// we should get a flashing red light
wdt_enable(WDTO_500MS);
#endif
}
void housekeeping_task_kb(void) {
#ifdef WATCHDOG_ENABLE
wdt_reset();
#endif
}