fix(usb): fix ths bug that ALT escape input for USB HID keyboard

This commit is contained in:
LiPeng
2025-09-03 10:53:23 +08:00
parent 9e1a90f565
commit df0a9610e9
12 changed files with 362 additions and 266 deletions
@@ -36,6 +36,10 @@ static SemaphoreHandle_t s_buff_mux = NULL;
static size_t s_buff_size = 0;
static uint8_t *s_buff = NULL;
void ld_include_msc(void)
{
}
static DSTATUS usb_disk_initialize(BYTE pdrv)
{
return RES_OK;
@@ -394,8 +398,6 @@ void usbh_msc_run(struct usbh_msc *msc_class)
return;
}
void usbh_msc_run_real(struct usbh_msc *) __attribute__((alias("usbh_msc_run")));
void usbh_msc_stop(struct usbh_msc *msc_class)
{
msc_host_vfs_unregister(msc_class);