Use BIT22 instead of SMBUS_LIB_PEC_BIT

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6108 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2008-10-14 02:56:39 +00:00
parent 44717a398f
commit e60d361d94
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
**/
#define SMBUS_LIB_ADDRESS(SlaveAddress,Command,Length,Pec) \
( ((Pec) ? SMBUS_LIB_PEC_BIT: 0) | \
( ((Pec) ? BIT22: 0) | \
(((SlaveAddress) & 0x7f) << 1) | \
(((Command) & 0xff) << 8) | \
(((Length) & 0x3f) << 16) \