Browse Source

Fix rpnSticky inverse condition (#2135)

mcspr-patch-1
Max Prokhorov 4 years ago
committed by GitHub
parent
commit
cda3dab0a1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/rpnrules.ino

+ 1
- 1
code/espurna/rpnrules.ino View File

@ -322,7 +322,7 @@ void _rpnRun() {
rpn_stack_clear(_rpn_ctxt);
}
if (getSetting("rpnSticky", 1 == RPN_STICKY)) {
if (!getSetting("rpnSticky", 1 == RPN_STICKY)) {
rpn_variables_clear(_rpn_ctxt);
}


Loading…
Cancel
Save