mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-09 13:29:26 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
8d8d6af124
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue