boards/arm/stm32f7/nucleo-144/src/stm32_usb.c: fix CONFIG_STM32F4DISCO_USBHOST_PRIO && CONFIG_STM32F4DISCO_USBHOST_STACKSIZE

This commit is contained in:
yangxuan8282 2022-08-26 17:48:04 +08:00 committed by Xiang Xiao
parent e68c975c41
commit 448c53a6f6

View File

@ -225,8 +225,8 @@ int stm32_usbhost_initialize(void)
uinfo("Start usbhost_waiter\n");
ret = kthread_create("usbhost", CONFIG_STM32F4DISCO_USBHOST_PRIO,
CONFIG_STM32F4DISCO_USBHOST_STACKSIZE,
ret = kthread_create("usbhost", CONFIG_NUCLEO144_USBHOST_PRIO,
CONFIG_NUCLEO_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (char * const *)NULL);
return ret < 0 ? -ENOEXEC : OK;
}