Fix compiler warning in hid_boot_interface example

This commit is contained in:
Andrew Scheller 2024-08-28 13:30:48 +01:00 committed by GitHub
parent 669f341b0b
commit f73964e3e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -161,8 +161,8 @@ void hid_task(void)
{
uint8_t const report_id = 0;
uint8_t const button_mask = 0;
uint8_t const vertical = 0;
uint8_t const horizontal = 0;
int8_t const vertical = 0;
int8_t const horizontal = 0;
int8_t const delta = 5;
tud_hid_n_mouse_report(ITF_NUM_MOUSE, report_id, button_mask, delta, delta, vertical, horizontal);