Fix error when RS232 not enabled
This commit is contained in:
parent
ad6712736b
commit
9194b3ac69
2 changed files with 6 additions and 2 deletions
|
@ -152,7 +152,9 @@ PROCESS_THREAD(cdc_process, ev, data_proc)
|
|||
} else {
|
||||
stdout = previous_stdout;
|
||||
}
|
||||
#if USB_CONF_RS232
|
||||
usb_stdout=stdout;
|
||||
#endif
|
||||
}
|
||||
|
||||
//Flush buffer if timeout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue