You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/02/19 23:36:43 UTC
[incubator-nuttx-apps] 02/05: industry/foc: fix compilation for smo
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit d76a7c242bbc1c256e4d1bdd1d868983f1fe9291
Author: raiden00pl <ra...@railab.me>
AuthorDate: Sat Feb 19 17:37:07 2022 +0100
industry/foc: fix compilation for smo
---
industry/foc/float/foc_ang_osmo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/industry/foc/float/foc_ang_osmo.c b/industry/foc/float/foc_ang_osmo.c
index c93c026..5916d1d 100644
--- a/industry/foc/float/foc_ang_osmo.c
+++ b/industry/foc/float/foc_ang_osmo.c
@@ -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 */