?????? ???? wrote:

diff -r msp430-libc.orig/include/iomacros.h msp430-libc/include/iomacros.h
315a316,319
> #if defined(__MSP430X__)
> #define sfra(x,x_) x=x_
> #endif
>
diff -r msp430-libc.orig/include/msp430/dma.h msp430-libc/include/msp430/dma.h
56,57c56
< #define DMA0SAL 0x01D2 /* DMA channel 0 source address */
< sfrw(DMA0SAL, DMA0SAL_);
---
> sfrw(DMA0SAL, DMA0SA_);
60,61c59
< #define DMA0DAL_ 0x01D6 /* DMA channel 0 destination address */
< sfrw(DMA0DAL, DMA0DAL_);
---
> sfrw(DMA0DAL, DMA0DA_);
69,70c67
< #define DMA1SAL_ 0x01DE /* DMA channel 1 source address */
< sfrw(DMA1SAL, DMA1SAL_);
---
> sfrw(DMA1SAL, DMA1SA_);
73,74c70
< #define DMA1DAL 0x01E2 /* DMA channel 1 destination address */
< sfrw(DMA1DAL, DMA1DAL_);
---
> sfrw(DMA1DAL, DMA1DA_);
82,83c78
< #define DMA2SAL_ 0x01EA /* DMA channel 2 source address */
< sfrw(DMA2SAL, DMA2SAL_);
---
> sfrw(DMA2SAL, DMA2SA_);
86,87c81
< #define DMA2DAL 0x01EE /* DMA channel 2 destination address */
< sfrw(DMA2DAL, DMA2DAL_);
---
> sfrw(DMA2DAL, DMA2DA_);
You just fixed the same errors I did a couple of minutes ago :-\

Steve


Reply via email to