saved work on cmd timeout, not tested yet

This commit is contained in:
Ruixiang Du
2020-09-14 18:57:27 +08:00
parent 8ba694b894
commit 9e646c78b7
5 changed files with 8 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ void AsyncCAN::SendFrame(const can_frame &frame) {
asio::buffer(&frame, sizeof(frame)),
[](asio::error_code error, size_t bytes_transferred) {
if (error) {
std::cerr << "Failed to send CAN frame";
std::cerr << "Failed to send CAN frame" << std::endl;
}
// std::cout << "frame sent" << std::endl;
});