Other Parts Discussed in Thread: MSP-IQMATHLIB, MSP430WARE
Hi,
In my project I use iqmathlib fix point arithmetic library in various files.
In each file I use the following sequence:
#define GLOBAL_IQ 6 // e.g. #include <IQmathLib.h>
After building and flashing I notice that when opening the declaration of
_IQ(211.98232);
it jumps to iqmatlib.h to the following section as if GLOBAL_IQ == 4
same happens when opening the declaration of:
iqtemp = _IQmpy(ucnt, _IQ(-636.8443398));
it jumps to :
I even tried:
#undef GLOBAL_IQ #define GLOBAL_IQ 6 #include "IQmathLib.h"
Same results :(
This happens with any #define value, on any file, always handle GLOBAL_IQ==4
I double checked GLOBAL_IQ in project properties>compiler>predefines and there is no such definitions
I've cleaned and rebuilt the project. Same results.
Any thoughts ?