Hi Indrek, Indrek Rebane wrote:
Hi again, In msp430-libc\include\msp430\dac12.h it states: #define DAC12_0DAT_ 0x01C8 /* DAC12 data 0 */ sfrw(DAC12IFG,DAC12IFG_); #define DAC12_1DAT_ 0x01CA /* DAC12 data 1 */ sfrw(DAC12CTL0,DAC12CTL0_); While I think it should state: #define DAC12_0DAT_ 0x01C8 /* DAC12 data 0 */ sfrw(DAC12_0DAT,DAC12_0DAT_); #define DAC12_1DAT_ 0x01CA /* DAC12 data 1 */ sfrw(DAC12_1DAT,DAC12_1DAT_); Correct?
Well that depends. If you want it to work properly, your version is better :-)
Thanks for the report. The change is commited in CVS Regards, Steve
