makefile phony targets

This commit is contained in:
Tristan Krause 2019-06-04 10:38:56 +02:00
parent b4996e84c8
commit 82e5c3ef93
5 changed files with 49 additions and 463 deletions

View file

@ -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__));
}