boards/sama5d3-xplained: Add USB mouse initialization.

This commit is contained in:
Lwazi Dube 2024-01-11 18:43:26 -05:00 committed by Xiang Xiao
parent 86638b6a0e
commit d13065468e
1 changed files with 10 additions and 0 deletions

View File

@ -332,6 +332,16 @@ int sam_usbhost_initialize(void)
}
#endif
#ifdef CONFIG_USBHOST_HIDMOUSE
/* Initialize the HID mouse class */
ret = usbhost_mouse_init();
if (ret != OK)
{
uerr("ERROR: Failed to register the HID mouse class\n");
}
#endif
/* Then get an instance of the USB host interface. */
#ifdef CONFIG_SAMA5_OHCI