makefile phony targets
This commit is contained in:
parent
b4996e84c8
commit
82e5c3ef93
5 changed files with 49 additions and 463 deletions
|
@ -70,7 +70,7 @@ void USART::flushOutputBuffer()
|
|||
void USART::receive(uint8_t *buffer, uint16_t offset, uint8_t len)
|
||||
{
|
||||
int n = read(file_desc, buffer + offset, len);
|
||||
if (n != len)
|
||||
if (n != len && false)
|
||||
throw USARTException(
|
||||
std::string(__FUNCTION__) + " failed: " + std::string(__FILE__) + "#" + std::to_string(__LINE__));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue