mirror of https://github.com/acidanthera/audk.git
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:
parent
44717a398f
commit
e60d361d94
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue