Merge pull request #2781 from lurch/patch-1

Fix compiler warning in hid_boot_interface example
This commit is contained in:
HiFiPhile 2024-09-01 18:03:32 +02:00 committed by GitHub
commit 12f5a6edbe
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);