diff --git a/main.c b/main.c index 76614b5..a81a062 100644 --- a/main.c +++ b/main.c @@ -2722,6 +2722,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 */