fix a bug

This commit is contained in:
Bigbits
2019-04-12 19:31:59 +08:00
parent 63d00b0ea5
commit 0c42ce6f28

View File

@@ -107,7 +107,7 @@ UARTClass::read(void)
while(this->_buff->available()){
return this->_buff->read_char();
}
return 0;
return -1;
}
void