industry/foc/*/foc_openloop.c: rename files to foc_ang_openloop.c

This commit is contained in:
raiden00pl 2021-10-29 12:44:07 +02:00 committed by Xiang Xiao
parent ff839dcf3e
commit df1638a3aa
3 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ CSRCS += float/foc_angle.c
CSRCS += float/foc_velocity.c
CSRCS += float/foc_routine.c
ifeq ($(CONFIG_INDUSTRY_FOC_ANGLE_OPENLOOP),y)
CSRCS += float/foc_openloop.c
CSRCS += float/foc_ang_openloop.c
endif
ifeq ($(CONFIG_INDUSTRY_FOC_CORDIC),y)
CSRCS += float/foc_cordic.c
@ -70,7 +70,7 @@ CSRCS += fixed16/foc_angle.c
CSRCS += fixed16/foc_velocity.c
CSRCS += fixed16/foc_routine.c
ifeq ($(CONFIG_INDUSTRY_FOC_ANGLE_OPENLOOP),y)
CSRCS += fixed16/foc_openloop.c
CSRCS += fixed16/foc_ang_openloop.c
endif
ifeq ($(CONFIG_INDUSTRY_FOC_CORDIC),y)
CSRCS += fixed16/foc_cordic.c

View File

@ -1,5 +1,5 @@
/****************************************************************************
* apps/industry/foc/fixed16/foc_openloop.c
* apps/industry/foc/fixed16/foc_ang_openloop.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with

View File

@ -1,5 +1,5 @@
/****************************************************************************
* apps/industry/foc/float/foc_openloop.c
* apps/industry/foc/float/foc_ang_openloop.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@ -246,8 +246,8 @@ static int foc_angle_ol_dir_f32(FAR foc_angle_f32_t *h, float dir)
****************************************************************************/
static int foc_angle_ol_run_f32(FAR foc_angle_f32_t *h,
FAR struct foc_angle_in_f32_s *in,
FAR struct foc_angle_out_f32_s *out)
FAR struct foc_angle_in_f32_s *in,
FAR struct foc_angle_out_f32_s *out)
{
FAR struct foc_openloop_f32_s *ol = NULL;