mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 16:37:58 +06:00
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
21 lines
380 B
C
21 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();
|
|
}
|