Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/src/Helpers/SystemVariables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ SystemVariables::Enum SystemVariables::startIndex_beginWith(char beginchar)
case 'r': return Enum::S_CR;
case 's': return Enum::SPACE;
case 'u': return Enum::UNIT_sysvar;
case 'v': return Enum::VARIABLE;
// case 'v': return Enum::VARIABLE; // Can not be the first 'v' variable, as the name is only 1 character long
case 'v': return Enum::VCC;
case 'w': return Enum::WI_CH;
}

Expand Down Expand Up @@ -596,8 +597,8 @@ const __FlashStringHelper * SystemVariables::toFlashString(SystemVariables::Enum
case Enum::UNIXTIME: return F("unixtime");
case Enum::UPTIME: return F("uptime");
case Enum::UPTIME_MS: return F("uptime_ms");
case Enum::VARIABLE: return F("v");
case Enum::VCC: return F("vcc");
case Enum::VARIABLE: return F("v"); // Can not be the first 'v' variable, as the name is only 1 character long
case Enum::WI_CH: return F("wi_ch");

case Enum::UNKNOWN: break;
Expand Down
2 changes: 1 addition & 1 deletion src/src/Helpers/SystemVariables.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ class SystemVariables {
UNIXTIME,
UPTIME,
UPTIME_MS,
VARIABLE,
VCC,
VARIABLE, // Can not be the first 'v' variable, as the name is only 1 character long
WI_CH,


Expand Down