Skip to content

Commit 9779b2c

Browse files
committed
fix(behaviors): Correct macro release state for parametrized
1 parent 5edaaf5 commit 9779b2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/behaviors/behavior_macro.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ static int behavior_macro_init(const struct device *dev) {
129129
LOG_DBG("Release will resume at %d", state->release_state.start_index);
130130
break;
131131
} else {
132-
// Ignore regular invokable bindings
132+
// Mostly ignore regular invokable bindings, except they will consume macro parameters
133+
state->release_state.param1_source = PARAM_SOURCE_BINDING;
134+
state->release_state.param2_source = PARAM_SOURCE_BINDING;
133135
}
134136
}
135137

0 commit comments

Comments
 (0)