From 53a2180b1a3089a3aa1e9288235b1d642e3153e5 Mon Sep 17 00:00:00 2001 From: Dasky <32983009+daskygit@users.noreply.github.com> Date: Sun, 20 Oct 2024 15:09:04 +0100 Subject: [PATCH] h/v could be int16_t --- tests/test_common/pointing_device_driver.c | 4 ++-- tests/test_common/test_pointing_device_driver.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_common/pointing_device_driver.c b/tests/test_common/pointing_device_driver.c index 37cb11fb94f..d6a46c607f7 100644 --- a/tests/test_common/pointing_device_driver.c +++ b/tests/test_common/pointing_device_driver.c @@ -71,14 +71,14 @@ void clear_y(void) { set_y(0); } -void set_h(int8_t h) { +void set_h(int16_t h) { test_report.h = h; } void clear_h(void) { set_h(0); } -void set_v(int8_t v) { +void set_v(int16_t v) { test_report.v = v; } void clear_v(void) { diff --git a/tests/test_common/test_pointing_device_driver.h b/tests/test_common/test_pointing_device_driver.h index fd365674bbf..5aea021b201 100644 --- a/tests/test_common/test_pointing_device_driver.h +++ b/tests/test_common/test_pointing_device_driver.h @@ -17,10 +17,10 @@ void clear_x(void); void set_y(int16_t y); void clear_y(void); -void set_h(int8_t h); +void set_h(int16_t h); void clear_h(void); -void set_v(int8_t v); +void set_v(int16_t v); void clear_v(void); void clear_movement(void);