forgot to save all files before I commited the last change
This commit is contained in:
parent
cd3a72a54d
commit
98a44d8744
|
@ -176,7 +176,7 @@ int USBSerial::read(void) {
|
|||
return b;
|
||||
*/
|
||||
|
||||
if (!usb_cdcacm_rx(&b, 1))
|
||||
if (usb_cdcacm_rx(&b, 1)==0)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue