include/industry/foc/*/foc_handler.h: remove useless FAR

This commit is contained in:
raiden00pl 2021-10-29 11:29:23 +02:00 committed by Xiang Xiao
parent f009d68a91
commit 9362fe760d
2 changed files with 6 additions and 6 deletions

View File

@ -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 */

View File

@ -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 */