# HG changeset patch # User Ethan Zonca # Date 2015-03-29 22:13:29 # Node ID 58f85a2f51f049c83da2b16b7c8b47835c9a78d4 # Parent ff9cd320f764f991e6270d15da40f37c216e886f Remove wait on USB busy. Note that previous commit introduced a fairly nasty bug where displayed temp is only updated if USB CDC is connected diff --git a/main.c b/main.c --- a/main.c +++ b/main.c @@ -327,7 +327,7 @@ void process() tempstr[numlen] = '\r'; tempstr[numlen+1] = '\n'; - while(CDC_Transmit_FS(tempstr, numlen+2) == USBD_BUSY); + CDC_Transmit_FS(tempstr, numlen+2); // while(CDC_Transmit_FS("\r\n", 2) == USBD_BUSY); last_vcp_tx = ticks;