diff --git a/industry/foc/Makefile b/industry/foc/Makefile index 35583aced..0e9ba2c69 100644 --- a/industry/foc/Makefile +++ b/industry/foc/Makefile @@ -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 diff --git a/industry/foc/fixed16/foc_openloop.c b/industry/foc/fixed16/foc_ang_openloop.c similarity index 99% rename from industry/foc/fixed16/foc_openloop.c rename to industry/foc/fixed16/foc_ang_openloop.c index dd8d4969d..d428c84e9 100644 --- a/industry/foc/fixed16/foc_openloop.c +++ b/industry/foc/fixed16/foc_ang_openloop.c @@ -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 diff --git a/industry/foc/float/foc_openloop.c b/industry/foc/float/foc_ang_openloop.c similarity index 97% rename from industry/foc/float/foc_openloop.c rename to industry/foc/float/foc_ang_openloop.c index e4a26ad58..fe75dbf9a 100644 --- a/industry/foc/float/foc_openloop.c +++ b/industry/foc/float/foc_ang_openloop.c @@ -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;