From: jesusc Date: Sat, 26 Aug 2006 01:00:38 +0000 (+0000) Subject: device/include/mcs51/P89c51RD2.h: fixed bug 1546936 (error in sbit definitions) X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=3b0bf044212cc7444420c22ce903e3aba9c54db5;p=fw%2Fsdcc device/include/mcs51/P89c51RD2.h: fixed bug 1546936 (error in sbit definitions) git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4342 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 067a1c64..de5e760b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-25 Jesus Calvino-Fraga + + * device/include/mcs51/P89c51RD2.h: fixed bug 1546936 (error in sbit + definitions) + 2006-08-20 Borut Razem * sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h: diff --git a/device/include/mcs51/P89c51RD2.h b/device/include/mcs51/P89c51RD2.h index 71980aca..c6346236 100644 --- a/device/include/mcs51/P89c51RD2.h +++ b/device/include/mcs51/P89c51RD2.h @@ -179,14 +179,13 @@ __sbit __at (0xB0) P3_0; #define RXD P3_0 /* SCON */ -__sbit __at (0x98) SCON_7; // alternatively "FE" -__sbit __at (0x98) SCON_7; -__sbit __at (0x98) SCON_6; -__sbit __at (0x98) SCON_5; -__sbit __at (0x98) SCON_4; -__sbit __at (0x98) SCON_3; -__sbit __at (0x98) SCON_2; -__sbit __at (0x98) SCON_1; +__sbit __at (0x9F) SCON_7; // alternatively "FE" +__sbit __at (0x9E) SCON_6; +__sbit __at (0x9D) SCON_5; +__sbit __at (0x9C) SCON_4; +__sbit __at (0x9B) SCON_3; +__sbit __at (0x9A) SCON_2; +__sbit __at (0x99) SCON_1; __sbit __at (0x98) SCON_0; #define SM0 SCON_7 // alternatively "FE"