1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/lfkeyboards/lfkpad/lfkpad.c

21 lines
380 B
C
Raw Normal View History

2020-02-05 03:41:19 +01:00
#include "quantum.h"
#include <avr/wdt.h>
2020-02-05 03:41:19 +01:00
void matrix_init_kb(void) {
matrix_init_user();
2020-02-05 03:41:19 +01:00
#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
}
2020-02-05 03:41:19 +01:00
void matrix_scan_kb(void) {
#ifdef WATCHDOG_ENABLE
wdt_reset();
#endif
2020-02-05 03:41:19 +01:00
matrix_scan_user();
}