fix(behaviors): Correct macro release state for parametrized macros (#2942)
test(behaviors): Add parametrized macro test that fails fix(behaviors): Correct macro release state for parametrized
This commit is contained in:
parent
d09087f4dc
commit
1bac680c4f
4 changed files with 60 additions and 1 deletions
|
|
@ -129,7 +129,9 @@ static int behavior_macro_init(const struct device *dev) {
|
|||
LOG_DBG("Release will resume at %d", state->release_state.start_index);
|
||||
break;
|
||||
} else {
|
||||
// Ignore regular invokable bindings
|
||||
// Mostly ignore regular invokable bindings, except they will consume macro parameters
|
||||
state->release_state.param1_source = PARAM_SOURCE_BINDING;
|
||||
state->release_state.param2_source = PARAM_SOURCE_BINDING;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue