Skip to content

Commit

Permalink
fix: Delete flush in read (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericsii authored Apr 17, 2023
1 parent 9a75ac8 commit 8209ec5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rmoss_base/src/transporter_driver/uart_transporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ bool UartTransporter::is_open()
int UartTransporter::read(void * buffer, size_t len)
{
int ret = ::read(fd_, buffer, len);
tcflush(fd_, TCIFLUSH);
return ret;
}

Expand Down

0 comments on commit 8209ec5

Please sign in to comment.