mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 21:08:38 +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
20 lines
360 B
C
20 lines
360 B
C
#include "lfk65_hs.h"
|
|
#include <avr/wdt.h>
|
|
|
|
bool process_record_kb(uint16_t keycode, keyrecord_t* record)
|
|
{
|
|
if (keycode == QK_BOOT) {
|
|
reset_keyboard_kb();
|
|
}
|
|
return process_record_user(keycode, record);
|
|
}
|
|
|
|
void reset_keyboard_kb(void){
|
|
#ifdef WATCHDOG_ENABLE
|
|
MCUSR = 0;
|
|
wdt_disable();
|
|
wdt_reset();
|
|
#endif
|
|
reset_keyboard();
|
|
}
|