Summary Files Commits Branches @commit @diff @stats
path: root / src / frame.cpp
diff options
context:
space:
mode:
Commit847a5544652b380b9393ff1b1ec2373de190d4f3 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-07-03 14:43:48 +0300
Committer
 Syndamia <kamen@syndamia.com>
2025-07-03 14:43:48 +0300
Files1c0d70a4f3ce40d5c71a61890f487380e721022c /src/frame.cpp
iso-tp-parser-carista-847a5544652b380b9393ff1b1ec2373de190d4f3.tar
iso-tp-parser-carista-847a5544652b380b9393ff1b1ec2373de190d4f3.tar.gz
iso-tp-parser-carista-847a5544652b380b9393ff1b1ec2373de190d4f3.zip
Parent8401706be957f68123c9b846001706f7bd46c3d3 (diff)
fix(frame): Store FC data
1 files changed, 3 insertions, 3 deletions
-rw-r--r--src/frame.cpp6
diff --git a/src/frame.cpp b/src/frame.cpp
index ab8a5f3..9844099 100644
--- a/src/frame.cpp
+++ b/src/frame.cpp
@@ -45,9 +45,9 @@ void Frame::parse_frame_str(const unsigned char* iso_tp_frame) {
case CF: this->data_size = 7;
break;
- // Flow control frame (ignore)
- case FC: this->data_size = 0;
- this->size = 0;
+ // Flow control frame
+ case FC: this->data_size = 2;
+ this->size = 2;
break;
}