mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
Mark keyboard reports passed to process_usb_keyboard_report() as const.
This commit is contained in:
parent
260c113bb2
commit
eaf29f1e39
@ -679,7 +679,7 @@ bool find_attached_usb_keyboards(const usb_hcd_t *hcd, const usb_hub_t *hub, int
|
||||
return keyboard_found;
|
||||
}
|
||||
|
||||
bool process_usb_keyboard_report(const usb_hcd_t *hcd, hid_kbd_rpt_t *report, hid_kbd_rpt_t *prev_report)
|
||||
bool process_usb_keyboard_report(const usb_hcd_t *hcd, const hid_kbd_rpt_t *report, const hid_kbd_rpt_t *prev_report)
|
||||
{
|
||||
hcd_workspace_t *ws = hcd->ws;
|
||||
|
||||
|
@ -274,7 +274,7 @@ bool find_attached_usb_keyboards(const usb_hcd_t *hcd, const usb_hub_t *hub, int
|
||||
*
|
||||
* Used internally by the various HCI drivers.
|
||||
*/
|
||||
bool process_usb_keyboard_report(const usb_hcd_t *hcd, hid_kbd_rpt_t *report, hid_kbd_rpt_t *prev_report);
|
||||
bool process_usb_keyboard_report(const usb_hcd_t *hcd, const hid_kbd_rpt_t *report, const hid_kbd_rpt_t *prev_report);
|
||||
|
||||
/**
|
||||
* Scans the attached USB devices and initialises all HID keyboard devices
|
||||
|
Loading…
Reference in New Issue
Block a user