mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-28 16:13:37 +08:00
double stack space for usb server thread
This commit is contained in:
@@ -177,6 +177,6 @@ void usb_rx_process_packet(uint8_t *buf, uint32_t len, uint8_t endpoint_pair) {
|
||||
|
||||
void start_usb_server() {
|
||||
// Start USB communication thread
|
||||
osThreadDef(usb_server_thread_def, usb_server_thread, osPriorityNormal, 0, 512);
|
||||
osThreadDef(usb_server_thread_def, usb_server_thread, osPriorityNormal, 0, 1024);
|
||||
usb_thread = osThreadCreate(osThread(usb_server_thread_def), NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user