From e60d361d944b58db78a7ad31d620fc16a4e8e096 Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 14 Oct 2008 02:56:39 +0000 Subject: [PATCH] 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 --- MdePkg/Include/Library/SmbusLib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/Library/SmbusLib.h b/MdePkg/Include/Library/SmbusLib.h index 17b81b6f19..d766b297ac 100644 --- a/MdePkg/Include/Library/SmbusLib.h +++ b/MdePkg/Include/Library/SmbusLib.h @@ -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) \ -- 2.39.2