Hi,
A part of my sample project (CCS) is given below. I take the error code 138 for the last row but it seems a compiler bug. Can you please examine and comment for me?
Best Regards!
// An example with CCS Version: 6.0.1.00040
// MCU : MSP430FG4618
// preprocessor definitions in include file
#define PXSEL_MCULED P3SEL,BIT0
#define CLR_PIN(port,pin) port&=(~pin)
// Statements in source file
CLR_PIN(P3SEL,BIT0); // true – Macro Expansion : P3SEL&=(~(0x0001))
CLR_PIN(PXSEL_MCULED); // false - Macro Expansion : P3SEL,(0x0001)&=(~) ERROR#138