mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-13 13:20:46 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
8929f31c22
@ -49,7 +49,7 @@ uint8_t currentWPM;
|
|||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
|
||||||
static uint32_t key_timer;
|
static uint32_t key_timer;
|
||||||
idle_timer = timer_read();
|
idle_timer = timer_read32();
|
||||||
|
|
||||||
|
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
@ -146,7 +146,7 @@ idle_timer = timer_read();
|
|||||||
|
|
||||||
void matrix_scan_user(void) {
|
void matrix_scan_user(void) {
|
||||||
//custom idle rbg switch off function
|
//custom idle rbg switch off function
|
||||||
if (timer_elapsed(idle_timer) > IDLE_TIMER_DURATION) {
|
if (timer_elapsed32(idle_timer) > IDLE_TIMER_DURATION) {
|
||||||
idle_timer = 0;
|
idle_timer = 0;
|
||||||
timer_clear();
|
timer_clear();
|
||||||
rgbkeyIdle = true;
|
rgbkeyIdle = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user