Changeset - 58f85a2f51f0
[Not reviewed]
cortex-f0
0 1 0
Ethan Zonca - 10 years ago 2015-03-29 22:13:29
ez@ethanzonca.com
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
1 file changed with 1 insertions and 1 deletions:
main.c
1
1
0 comments (0 inline, 0 general)
main.c
Show inline comments
 
@@ -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;
0 comments (0 inline, 0 general)