mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-16 05:24:50 +00:00
fe6d6cf76d
* Remove empty override functions, 0-9 * Remove empty override functions, A-D * Remove empty override functions, E-H * Remove empty override functions, handwired * Remove empty override functions, I-L * Remove empty override functions, M-P * Remove empty override functions, Q-T * Remove empty override functions, U-Z
23 lines
440 B
C
23 lines
440 B
C
#include <avr/sfr_defs.h>
|
|
#include <avr/timer_avr.h>
|
|
#include <avr/wdt.h>
|
|
#include "lfk65_hs.h"
|
|
#include "keymap.h"
|
|
|
|
bool process_record_kb(uint16_t keycode, keyrecord_t* record)
|
|
{
|
|
if (keycode == RESET) {
|
|
reset_keyboard_kb();
|
|
} else {
|
|
}
|
|
return process_record_user(keycode, record);
|
|
}
|
|
|
|
void reset_keyboard_kb(){
|
|
#ifdef WATCHDOG_ENABLE
|
|
MCUSR = 0;
|
|
wdt_disable();
|
|
wdt_reset();
|
|
#endif
|
|
reset_keyboard();
|
|
}
|