#include"quantum.h"#include<avr/wdt.h>voidmatrix_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 lightwdt_enable(WDTO_500MS);#endif}voidmatrix_scan_kb(void){#ifdef WATCHDOG_ENABLEwdt_reset();#endifmatrix_scan_user();}