mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +00:00
Berry fix flip
This commit is contained in:
parent
f57b9c37d4
commit
7e93d5c370
@ -743,7 +743,7 @@ newframe: /* a new call frame */
|
||||
opcase(FLIP): {
|
||||
bvalue *dst = RA(), *a = RKB();
|
||||
if (var_isint(a)) {
|
||||
var_setint(dst, -a->v.i);
|
||||
var_setint(dst, ~a->v.i);
|
||||
} else if (var_isinstance(a)) {
|
||||
ins_unop(vm, "~", *RKB());
|
||||
reg = vm->reg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user