From 1f7e43256ad3a0514483e480226f124514362fca Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Thu, 14 Apr 2022 08:18:51 +0200 Subject: [PATCH] Fixed detection of sagemcom --- src/IEC6205675.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IEC6205675.cpp b/src/IEC6205675.cpp index 91417b91..5cf6261d 100644 --- a/src/IEC6205675.cpp +++ b/src/IEC6205675.cpp @@ -158,7 +158,7 @@ IEC6205675::IEC6205675(const char* d, uint8_t useMeterType, MeterConfig* meterCo } // Try system title if(meterType == AmsTypeUnknown && hc != NULL) { - if(memcmp(hc->system_title, "SAGY", 4)) { + if(memcmp(hc->system_title, "SAGY", 4) == 0) { meterType = AmsTypeSagemcom; } }