Skip to content

Commit

Permalink
Update regovardump.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jagheterfredrik authored Oct 22, 2023
1 parent 69cf709 commit 4b402c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regovardump.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class RegoReader : public Component, public CanCallbackInterface {
// 0x09FDFFE0 - No more data available

memcpy(buf_ptr, data.data(), data.size());
buf_ptr += data.size;
buf_ptr += data.size();

if ((buf_ptr - buf) % 0x500 == 0)
ESP_LOGD(TAG, "read %d", buf_ptr - buf);
Expand Down

0 comments on commit 4b402c0

Please sign in to comment.