From: bela Date: Tue, 2 Aug 2005 06:11:58 +0000 (+0000) Subject: missing definition PT added X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=2529ea68e0a142d2bdf48fdc786683a740c82327;p=fw%2Fsdcc missing definition PT added git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3818 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/include/mcs51/8052.h b/device/include/mcs51/8052.h index df7eb946..ddb505a3 100755 --- a/device/include/mcs51/8052.h +++ b/device/include/mcs51/8052.h @@ -42,8 +42,11 @@ __sfr __at (0xCB) RCAP2H ; __sfr __at (0xCC) TL2 ; __sfr __at (0xCD) TH2 ; -/* IE */ -__sbit __at (0xAD) ET2 ; /* Enable timer2 interrupt */ +/* IE */ +__sbit __at (0xAD) ET2 ; /* Enable timer2 interrupt */ + +/* IP */ +__sbit __at 0xBD PT2 ; /* T2 interrupt priority bit */ /* T2CON bits */ __sbit __at (0xC8) T2CON_0 ;