From d9628fabea2e2df679d44f2989ac0906ba0f4668 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 29 Mar 2024 13:32:24 +0100 Subject: [PATCH] const name spelling --- src/lib/ebus/message.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ebus/message.cpp b/src/lib/ebus/message.cpp index 07513df9..a76f519f 100644 --- a/src/lib/ebus/message.cpp +++ b/src/lib/ebus/message.cpp @@ -70,11 +70,11 @@ using std::endl; #define POLL_PRIORITY_CONDITION 5 /** the field name constant for the message level. */ -static const char* FIELNAME_LEVEL = "level"; +static const char* FIELDNAME_LEVEL = "level";// /** the known full length field names. */ static const char* knownFieldNamesFull[] = { - "type", "circuit", FIELNAME_LEVEL, "name", "comment", "qq", "zz", "pbsb", "id", "fields", + "type", "circuit", FIELDNAME_LEVEL, "name", "comment", "qq", "zz", "pbsb", "id", "fields", }; /** the known full length field names. */ @@ -867,7 +867,7 @@ void Message::dump(const vector* fieldNames, bool withConditions, Output bool first = true; if (fieldNames == nullptr) { for (const auto& fieldName : knownFieldNamesFull) { - if (fieldName == FIELNAME_LEVEL) { + if (fieldName == FIELDNAME_LEVEL) { continue; // access level not included in default dump format } if (first) {