Skip to content

Commit

Permalink
const name spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Mar 29, 2024
1 parent 29e0232 commit d9628fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/ebus/message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -867,7 +867,7 @@ void Message::dump(const vector<string>* 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) {
Expand Down

0 comments on commit d9628fa

Please sign in to comment.