Can someone explain this BUG or what these numbers are IQ. Macros are set to 1000 but there is no type conversion anywhere. FW_setDeltas(fwHandle, FW_INC_DELTA, FW_DEC_DELTA); //! \brief Defines the Field Weakening (FW) increment delta correction //! #define FW_INC_DELTA (1000) //! \brief Defines the Field Weakening (FW) decrement delta correction //! #define FW_DEC_DELTA (1000) static inline void FW_setDeltas(FW_Handle fwHandle, const _iq delta_inc, const _iq delta_dec) { FW_Obj *fw = (FW_Obj *)fwHandle; fw->delta_inc = delta_inc; fw->delta_dec = delta_dec; return; } // end of FW_setDeltas() function
↧