aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmk_core/common/action.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index 66e7e1002..66411b4fd 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -957,9 +957,7 @@ void tap_code_delay(uint8_t code, uint16_t delay) {
957 * 957 *
958 * \param code The basic keycode to tap. If `code` is `KC_CAPS`, the delay will be `TAP_HOLD_CAPS_DELAY`, otherwise `TAP_CODE_DELAY`, if defined. 958 * \param code The basic keycode to tap. If `code` is `KC_CAPS`, the delay will be `TAP_HOLD_CAPS_DELAY`, otherwise `TAP_CODE_DELAY`, if defined.
959 */ 959 */
960void tap_code(uint8_t code) { 960void tap_code(uint8_t code) { tap_code_delay(code, code == KC_CAPS ? TAP_HOLD_CAPS_DELAY : TAP_CODE_DELAY); }
961 tap_code_delay(code, code == KC_CAPS ? TAP_HOLD_CAPS_DELAY : TAP_CODE_DELAY);
962}
963 961
964/** \brief Adds the given physically pressed modifiers and sends a keyboard report immediately. 962/** \brief Adds the given physically pressed modifiers and sends a keyboard report immediately.
965 * 963 *