File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -481,7 +481,8 @@ SystemVariables::Enum SystemVariables::startIndex_beginWith(char beginchar)
481
481
case ' r' : return Enum::S_CR;
482
482
case ' s' : return Enum::SPACE;
483
483
case ' u' : return Enum::UNIT_sysvar;
484
- case ' v' : return Enum::VARIABLE;
484
+ // case 'v': return Enum::VARIABLE; // Can not be the first 'v' variable, as the name is only 1 character long
485
+ case ' v' : return Enum::VCC;
485
486
case ' w' : return Enum::WI_CH;
486
487
}
487
488
@@ -596,8 +597,8 @@ const __FlashStringHelper * SystemVariables::toFlashString(SystemVariables::Enum
596
597
case Enum::UNIXTIME: return F (" unixtime" );
597
598
case Enum::UPTIME: return F (" uptime" );
598
599
case Enum::UPTIME_MS: return F (" uptime_ms" );
599
- case Enum::VARIABLE: return F (" v" );
600
600
case Enum::VCC: return F (" vcc" );
601
+ case Enum::VARIABLE: return F (" v" ); // Can not be the first 'v' variable, as the name is only 1 character long
601
602
case Enum::WI_CH: return F (" wi_ch" );
602
603
603
604
case Enum::UNKNOWN: break ;
Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ class SystemVariables {
113
113
UNIXTIME,
114
114
UPTIME,
115
115
UPTIME_MS,
116
- VARIABLE,
117
116
VCC,
117
+ VARIABLE, // Can not be the first 'v' variable, as the name is only 1 character long
118
118
WI_CH,
119
119
120
120
You can’t perform that action at this time.
0 commit comments