Skip to content

Commit

Permalink
fix valid range for exponent
Browse files Browse the repository at this point in the history
  • Loading branch information
eynsai committed Sep 27, 2024
1 parent a583ee7 commit c18b31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/protocol/usb_descriptor_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
# define POINTING_DEVICE_HIRES_SCROLL_MULTIPLIER 120
# endif
# ifdef POINTING_DEVICE_HIRES_SCROLL_EXPONENT
# if POINTING_DEVICE_HIRES_SCROLL_EXPONENT > 127 || POINTING_DEVICE_HIRES_SCROLL_EXPONENT < 1
# if POINTING_DEVICE_HIRES_SCROLL_EXPONENT > 127 || POINTING_DEVICE_HIRES_SCROLL_EXPONENT < 0
# error "POINTING_DEVICE_HIRES_SCROLL_EXPONENT must be between 1 and 127, inclusive!"
# endif
# else
Expand Down

0 comments on commit c18b31d

Please sign in to comment.