From 22b7877ee9c329cd706ecbfe5e892664ad45ebc9 Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Sat, 9 Nov 2024 15:29:19 +0100 Subject: [PATCH] Fixed build error --- lib/MeterCommunicators/src/IEC6205675.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MeterCommunicators/src/IEC6205675.cpp b/lib/MeterCommunicators/src/IEC6205675.cpp index 2488838a..b5a8955e 100644 --- a/lib/MeterCommunicators/src/IEC6205675.cpp +++ b/lib/MeterCommunicators/src/IEC6205675.cpp @@ -554,7 +554,7 @@ IEC6205675::IEC6205675(const char* d, uint8_t useMeterType, MeterConfig* meterCo } if(meterType != AmsTypeUnknown) { - meterId = String((const uint8_t*)ctx.system_title, 8); + meterId = String((const char*)ctx.system_title); } }