reset state machine to support identification once more without restart app
This commit is contained in:
parent
bd82e8d39f
commit
d1cbbcdb41
@ -756,6 +756,7 @@ int foc_routine_ident_run_f32(FAR foc_routine_f32_t *r,
|
|||||||
case FOC_IDENT_RUN_DONE:
|
case FOC_IDENT_RUN_DONE:
|
||||||
{
|
{
|
||||||
ret = FOC_ROUTINE_RUN_DONE;
|
ret = FOC_ROUTINE_RUN_DONE;
|
||||||
|
i->stage = FOC_IDENT_RUN_INIT;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user