diff options
| author | Dasky <32983009+daskygit@users.noreply.github.com> | 2022-01-26 19:24:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-26 19:24:29 +0000 |
| commit | 7b31fc54df6543e3426cce159a915fdaa947b57d (patch) | |
| tree | 895d8f447395c6977b27e89e9974a29bc8678460 /quantum/split_common | |
| parent | c99cbd915f18a13ce19b0f86721bef10e80bb558 (diff) | |
Enable a default task throttle for split pointing. (#15925)
Diffstat (limited to 'quantum/split_common')
| -rw-r--r-- | quantum/split_common/transactions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/split_common/transactions.c b/quantum/split_common/transactions.c index 81f9836382..d9e8fd1f6b 100644 --- a/quantum/split_common/transactions.c +++ b/quantum/split_common/transactions.c | |||
| @@ -624,7 +624,7 @@ static void pointing_handlers_slave(matrix_row_t master_matrix[], matrix_row_t s | |||
| 624 | # endif | 624 | # endif |
| 625 | report_mouse_t temp_report; | 625 | report_mouse_t temp_report; |
| 626 | uint16_t temp_cpi; | 626 | uint16_t temp_cpi; |
| 627 | # ifdef POINTING_DEVICE_TASK_THROTTLE_MS | 627 | # if (POINTING_DEVICE_TASK_THROTTLE_MS > 0) |
| 628 | static uint32_t last_exec = 0; | 628 | static uint32_t last_exec = 0; |
| 629 | if (timer_elapsed32(last_exec) < POINTING_DEVICE_TASK_THROTTLE_MS) { | 629 | if (timer_elapsed32(last_exec) < POINTING_DEVICE_TASK_THROTTLE_MS) { |
| 630 | return; | 630 | return; |
