summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2022-03-12 13:42:25 +0100
committerGitHub <noreply@github.com>2022-03-12 12:42:25 +0000
commit86b123141bea2e3f831a57eb115368cbbbdb2da1 (patch)
tree9156b7ce896751ba2f08f80d8385ae3c291fdb16
parent3f797080952029e792361d7ea2cee9b423e07f72 (diff)
docs: fix code sample (#16623)
-rw-r--r--docs/feature_pointing_device.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/feature_pointing_device.md b/docs/feature_pointing_device.md
index 23a16b843d..8c51865558 100644
--- a/docs/feature_pointing_device.md
+++ b/docs/feature_pointing_device.md
@@ -325,7 +325,8 @@ report_mouse_t pointing_device_task_user(report_mouse_t mouse_report) {
if (set_scrolling) {
mouse_report.h = mouse_report.x;
mouse_report.v = mouse_report.y;
- mouse_report.x = mouse_report.y = 0
+ mouse_report.x = 0;
+ mouse_report.y = 0;
}
return mouse_report;
}