diff --git a/main.c b/main.c index 28aac45..a5e3426 100644 --- a/main.c +++ b/main.c @@ -2715,6 +2715,10 @@ static bool shell_check_connect(void){ // Init shell I/O connection over USB static void shell_init_connection(void){ +/* + * Init shell thread object (need for switch threads) + */ + osalThreadQueueObjectInit(&shell_thread); /* * Initializes and start serial-over-USB CDC driver SDU1, connected to USBD1 */