Skip to content

Commit

Permalink
format code according to conventions [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
qmk-bot committed Jul 21, 2020
1 parent 7af5b6c commit a2f0c2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tmk_core/common/mousekey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a2f0c2f

Please sign in to comment.