Mercurial > flash_v2
changeset 535:5b6aacdd7c0d
Fix problems with #define
| author | gthomas |
|---|---|
| date | Fri, 24 Jan 2003 15:13:25 +0000 |
| parents | 47f3bb5e1744 |
| children | b23d7922f5ed |
| files | packages/devs/serial/powerpc/quicc2/current/ChangeLog packages/devs/serial/powerpc/quicc2/current/src/quicc2_scc_serial.h |
| diffstat | 2 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/devs/serial/powerpc/quicc2/current/ChangeLog +++ b/packages/devs/serial/powerpc/quicc2/current/ChangeLog @@ -1,3 +1,8 @@ +2003-01-24 Gary Thomas <gary@mlbassoc.com> (inspired by) +2003-01-24 Christoph Csebits <christoph.csebits@frequentis.com> + + * src/quicc2_scc_serial.h: Remove invalid ";" from #defines + 2002-12-12 Gary Thomas <gthomas@ecoscentric.com> 2002-12-12 Patrick Doyle <wpd@delcomsys.com>
--- a/packages/devs/serial/powerpc/quicc2/current/src/quicc2_scc_serial.h +++ b/packages/devs/serial/powerpc/quicc2/current/src/quicc2_scc_serial.h @@ -114,15 +114,15 @@ // SCC clock Route register constants #define QUICC2_CMX_SCC1_CLR 0x00ffffff #define QUICC2_CMX_SCC1_BRG1 0x00000000 -#define QUICC2_CMX_SCC1_BRG2 0x09000000; -#define QUICC2_CMX_SCC1_BRG3 0x12000000; -#define QUICC2_CMX_SCC1_BRG4 0x1b000000; +#define QUICC2_CMX_SCC1_BRG2 0x09000000 +#define QUICC2_CMX_SCC1_BRG3 0x12000000 +#define QUICC2_CMX_SCC1_BRG4 0x1b000000 -#define QUICC2_CMX_SCC2_CLR 0xff00ffff; -#define QUICC2_CMX_SCC2_BRG1 0x00000000; -#define QUICC2_CMX_SCC2_BRG2 0x00090000; -#define QUICC2_CMX_SCC2_BRG3 0x00120000; -#define QUICC2_CMX_SCC2_BRG4 0x001b0000; +#define QUICC2_CMX_SCC2_CLR 0xff00ffff +#define QUICC2_CMX_SCC2_BRG1 0x00000000 +#define QUICC2_CMX_SCC2_BRG2 0x00090000 +#define QUICC2_CMX_SCC2_BRG3 0x00120000 +#define QUICC2_CMX_SCC2_BRG4 0x001b0000 static unsigned int select_word_length[] = { QUICC2_SCC_PSMR_CLEN(5), // 5 bits / word (char)
