summaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-07-21 00:09:52 +0000
committerQMK Bot <hello@qmk.fm>2020-07-21 00:09:52 +0000
commit1778858e24ddf7527ba37014e991fb95eb9689a3 (patch)
treeab5ba54c632343c4c1593920944b719a2c4a7e49 /tmk_core/common
parent19006c9753e490bf5e0136e59476530e345c4a8a (diff)
format code according to conventions [skip ci]
Diffstat (limited to 'tmk_core/common')
-rw-r--r--tmk_core/common/mousekey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/common/mousekey.c b/tmk_core/common/mousekey.c
index 661384d651..42bf231f4c 100644
--- a/tmk_core/common/mousekey.c
+++ b/tmk_core/common/mousekey.c
@@ -66,7 +66,7 @@ uint8_t mk_wheel_interval = MOUSEKEY_WHEEL_INTERVAL;
uint8_t mk_wheel_max_speed = MOUSEKEY_WHEEL_MAX_SPEED;
uint8_t mk_wheel_time_to_max = MOUSEKEY_WHEEL_TIME_TO_MAX;
-#ifndef MK_COMBINED
+# ifndef MK_COMBINED
static uint8_t move_unit(void) {
uint16_t unit;
@@ -104,7 +104,7 @@ static uint8_t wheel_unit(void) {
return (unit > MOUSEKEY_WHEEL_MAX ? MOUSEKEY_WHEEL_MAX : (unit == 0 ? 1 : unit));
}
-#else /* #ifndef MK_COMBINED */
+# else /* #ifndef MK_COMBINED */
static uint8_t move_unit(void) {
uint16_t unit;
@@ -142,7 +142,7 @@ static uint8_t wheel_unit(void) {
return (unit > MOUSEKEY_WHEEL_MAX ? MOUSEKEY_WHEEL_MAX : (unit == 0 ? 1 : unit));
}
-#endif /* #ifndef MK_COMBINED */
+# endif /* #ifndef MK_COMBINED */
void mousekey_task(void) {
// report cursor and scroll movement independently