JohSchneider d9b1ab9ae0 pointing_device: motion pin define and c-format weirdness (#22802)
the mutual exclusive POINTING_DEVICE_MOTION_PIN and SPLIT_POINTING_ENABLE influence if and how the `pointing_device_driver.get_report` is triggered. now the way the define is wrapping around an "unbraced" if leads clang-format to weirdly indent the first line in the 'SPLIT_POINTING_ENABLE' as the first command after the if.

this hints that any code addition in between the two - that possibly should run regardless, would break the if-def enabled code.

this can be solved by adding a pair of curly braces in the POINTING_DEVICE_MOTION_PIN part, to clearly denote which commands are to be skipped if the motion pin shows now activity.

Co-authored-by: Johannes <you@example.com>
2024-01-10 17:38:13 +01:00
..
2023-10-29 17:35:38 +00:00
2024-01-04 08:59:38 +00:00
2023-03-27 20:08:17 +01:00
2023-04-06 08:10:40 +10:00
2023-09-04 01:19:59 +01:00
2023-09-20 07:33:54 +01:00
2023-07-21 09:17:39 +10:00
2023-12-08 15:57:34 +00:00
2024-01-04 08:59:38 +00:00
2023-07-06 09:48:02 +01:00
2023-07-06 09:48:02 +01:00