diff options
author | QMK Bot <[email protected]> | 2024-04-04 03:39:48 +0000 |
---|---|---|
committer | QMK Bot <[email protected]> | 2024-04-04 03:39:48 +0000 |
commit | 8d8d6af124b1b9b816e4b378ef9064e82f1201d4 (patch) | |
tree | 5848f4837ebad0304b3805ee6f20ba83f9f67309 /quantum | |
parent | e578434ba883fe8a355307dc891e7a895a8ce131 (diff) | |
parent | c70ebd4a0e27009a9baf4c8f74379dae6c55b461 (diff) | |
download | qmk_firmware-8d8d6af124b1b9b816e4b378ef9064e82f1201d4.tar.gz qmk_firmware-8d8d6af124b1b9b816e4b378ef9064e82f1201d4.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/pointing_device/pointing_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/pointing_device/pointing_device.c b/quantum/pointing_device/pointing_device.c index bcced166c0..4682aceb14 100644 --- a/quantum/pointing_device/pointing_device.c +++ b/quantum/pointing_device/pointing_device.c @@ -368,7 +368,7 @@ void pointing_device_set_cpi(uint16_t cpi) { * @param[in] cpi uint16_t value. */ void pointing_device_set_cpi_on_side(bool left, uint16_t cpi) { - bool local = (is_keyboard_left() & left) ? true : false; + bool local = (is_keyboard_left() == left); if (local) { pointing_device_driver.set_cpi(cpi); } else { |