Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alabastard-64 committed Jan 23, 2023
1 parent b4d6446 commit 7735757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/pointing_device/pointing_device_modes.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ static uint8_t get_pointing_mode_divisor(void) {
}
// Modify divisor if precision is toggled
if (get_toggled_pointing_mode_id() == PM_PRECISION && !(get_pointing_mode_id() == PM_PRECISION)) {
divisor = ((uint16_t)divisor * POINTING_PRECISION_DIVISOR) > 255 ? 255:(divisor * POINTING_PRECISION_DIVISOR);
divisor = ((uint16_t)divisor * POINTING_PRECISION_DIVISOR) > 255 ? 255 : (divisor * POINTING_PRECISION_DIVISOR);
}

// Prevent 0 divisor
Expand Down

0 comments on commit 7735757

Please sign in to comment.