forked from mirrors/qmk_firmware
6424dadd37
* Remove CU75 custom lighting * Remove LFK78 custom lighting * Remove LFK87 custom lighting * Remove LFKPad custom lighting * Remove Mini1800 custom lighting * Remove SMK65 custom lighting * Remove LFK65-HS custom lighting * Remove LFKeyboards custom lighting * Remove Meira custom lighting
20 lines
380 B
C
20 lines
380 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 matrix_scan_kb(void) {
|
|
#ifdef WATCHDOG_ENABLE
|
|
wdt_reset();
|
|
#endif
|
|
|
|
matrix_scan_user();
|
|
}
|