test fix, was unable to use set when replacements occurs

This commit is contained in:
hsaturn
2021-03-26 01:10:33 +01:00
parent f122d5e902
commit b780dcf99c

View File

@@ -293,8 +293,7 @@ void loop()
else
last_cmd=cmd;
replaceVars(cmd);
Serial << "---------------@[ " << cmd.c_str() << " ]--------------" << endl;
if (cmd.substr(0,3)!="set") replaceVars(cmd);
while(cmd.length())
{
MqttError retval = MqttOk;