summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-02-17 17:30:16 +1100
committerGitHub <noreply@github.com>2021-02-17 17:30:16 +1100
commita5f63dbf93a19efc5c8e16f80eec79d988d3a1d1 (patch)
treec942394cf4326da217559aaa70368d251500771c
parentfad659650b2045794f8e31d0c5252367e51c47b3 (diff)
downloadqmk_firmware-a5f63dbf93a19efc5c8e16f80eec79d988d3a1d1.tar.gz
qmk_firmware-a5f63dbf93a19efc5c8e16f80eec79d988d3a1d1.zip
Format code according to conventions (#11936)
Co-authored-by: QMK Bot <hello@qmk.fm>
-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 66e7e10026..66411b4fd3 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) {
*
* \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.
*/
-void tap_code(uint8_t code) {
- tap_code_delay(code, code == KC_CAPS ? TAP_HOLD_CAPS_DELAY : TAP_CODE_DELAY);
-}
+void tap_code(uint8_t code) { tap_code_delay(code, code == KC_CAPS ? TAP_HOLD_CAPS_DELAY : TAP_CODE_DELAY); }
/** \brief Adds the given physically pressed modifiers and sends a keyboard report immediately.
*