diff --git a/communication/decoder.cpp b/communication/decoder.cpp index 86b7393..b8a44ae 100644 --- a/communication/decoder.cpp +++ b/communication/decoder.cpp @@ -79,7 +79,7 @@ bool Decoder::decode(std::shared_ptr& result, const std::shared_ptrdlc.RTR) { // Remote Request Frame + if((data->dlc.RTR && data->header.IDE) || (!data->header.IDE && data->header.SRR)) { // Remote Request Frame msg->data.resize(length); // This data will be all zeros, but the length will be set msg->isRemote = true; } else {