Skip to content

Commit

Permalink
fix: "Ld " variable was ignored due to trailing space character
Browse files Browse the repository at this point in the history
  • Loading branch information
armageddon421 authored May 16, 2023
1 parent 99e6255 commit c607026
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/jsvarStore/src/jsvarStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ String JsvarStore::handleChar(const char &c)
mVarName += c;
mCounter ++;
}
else if(c == ' ') //allow one space character at the end of the variable name
{
mCounter = 10;
}
else
{
reset();
Expand Down

0 comments on commit c607026

Please sign in to comment.