AnsweredAssumed Answered

When the macro is defined on the MPC5744P chip, the program execution time is very long

Question asked by 罗斌 林 on May 15, 2018

I use the following macro definition,I use the S32DS development environment:

#define UTILS_LP_FAST(value, sample, filter_constant) (value -= (filter_constant) * (value - (sample)))


I found that when the program executes this macro definition, the execution time is very long,Who can help me to answer the reason,Thank you!