Fix commands exception when __USE_SERIAL_CONSOLE__ disabled

pull/168/head
Shellever.IDX 2 years ago committed by erikkaashoek
parent becde1dab5
commit cadd6ca19e

@ -2758,6 +2758,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
*/

Loading…
Cancel
Save

Powered by TurnKey Linux.