diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-03 00:34:19 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-03 00:34:19 +0000 |
commit | 43263288dd20d9c9d1c1426010c7ea00a6eaeeef (patch) | |
tree | 7aa27c5c974ceca7be20ad3d2d7cb269fce5642d /Omap35xxPkg/Gpio | |
parent | 1f44ee1077d27dbfa8765decc54856b912c8c938 (diff) | |
download | edk2-platforms-43263288dd20d9c9d1c1426010c7ea00a6eaeeef.tar.xz |
Added DebugAgentTimerLib. Cleaned up .h files and other code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10332 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Omap35xxPkg/Gpio')
-rw-r--r-- | Omap35xxPkg/Gpio/Gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Omap35xxPkg/Gpio/Gpio.c b/Omap35xxPkg/Gpio/Gpio.c index 107c93916a..83bbe5b110 100644 --- a/Omap35xxPkg/Gpio/Gpio.c +++ b/Omap35xxPkg/Gpio/Gpio.c @@ -43,7 +43,7 @@ Get ( DataInRegister = GpioBase(Port) + GPIO_DATAIN; - if (MmioRead32(DataInRegister) & GPIO_DATAIN_MASK(Pin)) { + if (MmioRead32 (DataInRegister) & GPIO_DATAIN_MASK(Pin)) { *Value = 1; } else { *Value = 0; |