industry/foc: fix compilation for smo

This commit is contained in:
raiden00pl 2022-02-19 17:37:07 +01:00 committed by Xiang Xiao
parent d6cdc5a423
commit d76a7c242b

View File

@ -291,7 +291,7 @@ static int foc_angle_osmo_run_f32(FAR foc_angle_f32_t *h,
/* Update observer */
motor_aobserver_smo(&ob->data, &in->state->iab, &in->state->vab,
&ob->cfg.phy, ob->dir);
&ob->cfg.phy, in->dir, in->vel);
/* Copy data */