mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Transmits now block when the buffer fills
This commit is contained in:
@@ -285,5 +285,6 @@ void STM32::writeTask() {
|
||||
ssize_t actualWritten = ::write(fd, writeOp.bytes.data(), writeSize);
|
||||
if(actualWritten != writeSize)
|
||||
err(APIError::FailedToWrite);
|
||||
onWrite();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user