We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce6e52 commit 07c31c6Copy full SHA for 07c31c6
aml/src/expression.rs
@@ -105,7 +105,7 @@ where
105
opcode(opcode::DEF_SUBTRACT_OP)
106
.then(comment_scope(
107
DebugVerbosity::AllScopes,
108
- "DefAdd",
+ "DefSubtract",
109
term_arg().then(term_arg()).then(target()).map_with_context(
110
|((left_arg, right_arg), target), context| {
111
let left = try_with_context!(context, left_arg.as_integer(context));
@@ -419,7 +419,7 @@ where
419
"DefLNot",
420
term_arg().map_with_context(|arg, context| {
421
let operand = try_with_context!(context, arg.as_bool());
422
- (Ok(AmlValue::Boolean(operand)), context)
+ (Ok(AmlValue::Boolean(!operand)), context)
423
}),
424
))
425
.map(|((), result)| Ok(result))
0 commit comments