~ruther/qmk_firmware

ref: af72a58c8f932dc55401bb1197a466b615f660e3 qmk_firmware/keyboards/lfkeyboards/lfkpad/lfkpad.c -rw-r--r-- 380 bytes
af72a58c — dependabot[bot] Bump JamesIves/github-pages-deploy-action from 4.6.1 to 4.6.3 (#24063) 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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();
}
Do not follow this link