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 2021/10/30 06:19:50 UTC

[incubator-nuttx-apps] 01/02: include/industry/foc/*/foc_handler.h: remove useless FAR

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 9362fe760dcb373105bb348ff4af25f266acab81
Author: raiden00pl <ra...@railab.me>
AuthorDate: Fri Oct 29 11:29:23 2021 +0200

    include/industry/foc/*/foc_handler.h: remove useless FAR
---
 include/industry/foc/fixed16/foc_handler.h | 6 +++---
 include/industry/foc/float/foc_handler.h   | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/industry/foc/fixed16/foc_handler.h b/include/industry/foc/fixed16/foc_handler.h
index 3c445c0..f618f2f 100644
--- a/include/industry/foc/fixed16/foc_handler.h
+++ b/include/industry/foc/fixed16/foc_handler.h
@@ -44,9 +44,9 @@ struct foc_handler_input_b16_s
   FAR b16_t          *current;  /* Phase current samples */
   FAR dq_frame_b16_t *dq_ref;   /* DQ reference frame */
   FAR dq_frame_b16_t *vdq_comp; /* DQ voltage compensation */
-  FAR b16_t           angle;    /* Phase angle */
-  FAR b16_t           vbus;     /* Bus voltage */
-  FAR int             mode;     /* Controller mode (enum foc_handler_mode_e) */
+  b16_t               angle;    /* Phase angle */
+  b16_t               vbus;     /* Bus voltage */
+  int                 mode;     /* Controller mode (enum foc_handler_mode_e) */
 };
 
 /* Output from FOC controller */
diff --git a/include/industry/foc/float/foc_handler.h b/include/industry/foc/float/foc_handler.h
index b3941fe..2791926 100644
--- a/include/industry/foc/float/foc_handler.h
+++ b/include/industry/foc/float/foc_handler.h
@@ -44,9 +44,9 @@ struct foc_handler_input_f32_s
   FAR float          *current;  /* Phase current samples */
   FAR dq_frame_f32_t *dq_ref;   /* DQ reference frame */
   FAR dq_frame_f32_t *vdq_comp; /* DQ voltage compensation */
-  FAR float           angle;    /* Phase angle */
-  FAR float           vbus;     /* Bus voltage */
-  FAR int             mode;     /* Controller mode (enum foc_handler_mode_e) */
+  float               angle;    /* Phase angle */
+  float               vbus;     /* Bus voltage */
+  int                 mode;     /* Controller mode (enum foc_handler_mode_e) */
 };
 
 /* Output from FOC controller */