Format code according to conventions (#15693)
This commit is contained in:
parent
4fe6f3cd7a
commit
5fcdff9935
@ -631,7 +631,7 @@ static void pointing_handlers_slave(matrix_row_t master_matrix[], matrix_row_t s
|
|||||||
}
|
}
|
||||||
last_exec = timer_read32();
|
last_exec = timer_read32();
|
||||||
# endif
|
# endif
|
||||||
temp_cpi = !pointing_device_driver.get_cpi ? 0 : pointing_device_driver.get_cpi(); // check for NULL
|
temp_cpi = !pointing_device_driver.get_cpi ? 0 : pointing_device_driver.get_cpi(); // check for NULL
|
||||||
if (split_shmem->pointing.cpi && memcmp(&split_shmem->pointing.cpi, &temp_cpi, sizeof(temp_cpi)) != 0) {
|
if (split_shmem->pointing.cpi && memcmp(&split_shmem->pointing.cpi, &temp_cpi, sizeof(temp_cpi)) != 0) {
|
||||||
if (pointing_device_driver.set_cpi) {
|
if (pointing_device_driver.set_cpi) {
|
||||||
pointing_device_driver.set_cpi(split_shmem->pointing.cpi);
|
pointing_device_driver.set_cpi(split_shmem->pointing.cpi);
|
||||||
|
Loading…
Reference in New Issue
Block a user