mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +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): {
|
opcase(FLIP): {
|
||||||
bvalue *dst = RA(), *a = RKB();
|
bvalue *dst = RA(), *a = RKB();
|
||||||
if (var_isint(a)) {
|
if (var_isint(a)) {
|
||||||
var_setint(dst, -a->v.i);
|
var_setint(dst, ~a->v.i);
|
||||||
} else if (var_isinstance(a)) {
|
} else if (var_isinstance(a)) {
|
||||||
ins_unop(vm, "~", *RKB());
|
ins_unop(vm, "~", *RKB());
|
||||||
reg = vm->reg;
|
reg = vm->reg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user