From 2abb034c0675b4c8cfb7d506e05b2272fc3ab796 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sat, 29 Jul 2023 11:09:48 +0200 Subject: [PATCH] example/hog_mouse_demo: fix input report --- example/hog_mouse_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/hog_mouse_demo.c b/example/hog_mouse_demo.c index 1e1b5b69c..f471305a7 100644 --- a/example/hog_mouse_demo.c +++ b/example/hog_mouse_demo.c @@ -167,7 +167,7 @@ static void hog_mouse_setup(void){ // HID Report sending static void send_report(uint8_t buttons, int8_t dx, int8_t dy){ - uint8_t report[] = { buttons, (uint8_t) dx, (uint8_t) dy, 0}; + uint8_t report[] = { buttons, (uint8_t) dx, (uint8_t) dy }; switch (protocol_mode){ case 0: hids_device_send_boot_mouse_input_report(con_handle, report, sizeof(report));