From 4b402c0137ed7512cec53c0c04f3984c2e7cbddc Mon Sep 17 00:00:00 2001 From: Fredrik Gustafsson Date: Mon, 23 Oct 2023 00:23:47 +0200 Subject: [PATCH] Update regovardump.h --- regovardump.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regovardump.h b/regovardump.h index 79585e7..7f44a4f 100644 --- a/regovardump.h +++ b/regovardump.h @@ -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);