mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 13:16:32 +00:00
Bugfix in function 'mp'
If optional parameter v2 was omitted, evaluation failed.
This commit is contained in:
parent
7df46f051d
commit
2335f2fedd
@ -1512,7 +1512,7 @@ chknext:
|
||||
(*opp=='>' && fvar1>fvar2) ||
|
||||
(*opp=='=' && fvar1==fvar2))
|
||||
{
|
||||
if (*lp!='<' && *lp!='>' && *lp!='=') {
|
||||
if (*lp!='<' && *lp!='>' && *lp!='=' && *lp!=')' && *lp!=SCRIPT_EOL) {
|
||||
float fvar3;
|
||||
lp=GetNumericResult(lp,OPER_EQU,&fvar3,0);
|
||||
SCRIPT_SKIP_SPACES
|
||||
|
Loading…
x
Reference in New Issue
Block a user