Fix error when RS232 not enabled

This commit is contained in:
dak664 2010-10-28 19:31:28 +00:00
parent ad6712736b
commit 9194b3ac69
2 changed files with 6 additions and 2 deletions

View file

@ -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