#include "smopos.h" // Include header for the SMOPOS object
#include "smopos_const.h" // Include header for the SMOPOS object
#include "park.h" // Include header for the PARK object
#include "ipark.h" // Include header for the IPARK object
#include "pid_reg3.h" // Include header for the PIDREG3 object
#include "clarke.h" // Include header for the CLARKE object
#include "svgen_dq.h" // Include header for the SVGENDQ object
#include "rampgen.h" // Include header for the RAMPGEN object
#include "rmp_cntl.h" // Include header for the RMPCNTL object
#include "volt_calc.h" // Include header for the PHASEVOLTAGE object
#include "speed_est.h" // Include header for the SPEED_ESTIMATION object
#include "speed_fr.h" // Include header for the SPEED_MEAS_QEP object
#if (DSP2803x_DEVICE_H==1)
#include "f2803xileg_vdc.h" // Include header for the ILEG2DCBUSMEAS object
#include "f2803xpwm.h" // Include header for the PWMGEN object
#include "f2803xpwmdac.h" // Include header for the PWMGEN object
#include "f2803xqep.h" // Include header for the QEP object
#include "DSP2803x_EPwm_defines.h" // Include header for PWM defines
#endif
"HVPM_Sensorless.h" 里面包含了很多马达控制宏定义的函数,当我其他.C函数调用"HVPM_Sensorless.h" 时,会出现宏函数里的局部变量会重复定义。
"HVPM_Sensorless.h" 已经在main.c中调用,请问怎么解决,谢谢
错误信息见图