small fix

This commit is contained in:
merlokk
2019-02-07 16:05:08 +02:00
parent 32400c8d09
commit c6d946136e
2 changed files with 4 additions and 7 deletions

View File

@ -52,7 +52,7 @@ int _write (int fd, const void *buf, long int len)
memcpy(&logbuf[logbuflen], data, len);
logbuflen += len;
// Send out USB serial
// Send out USB serial
uint8_t res = CDC_Transmit_FS(logbuf, logbuflen);
if (res == USBD_OK)
logbuflen = 0;