diff options
author | Nick Pelly <npelly@google.com> | 2011-06-09 11:56:37 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-06-09 11:56:37 -0700 |
commit | d66c8b1a1229874700976e4d1c583519ec58fa45 (patch) | |
tree | 0d27fa29891fbea7331bb4b1d747cd5a11979b54 /Linux_x86 | |
parent | 5a84ba3c21d1df214e8e95beee95ba5dbc4449f5 (diff) | |
parent | 252aedb3edd2c04adedeb5c9f8369af504411dad (diff) | |
download | external_libnfc-nxp-d66c8b1a1229874700976e4d1c583519ec58fa45.zip external_libnfc-nxp-d66c8b1a1229874700976e4d1c583519ec58fa45.tar.gz external_libnfc-nxp-d66c8b1a1229874700976e4d1c583519ec58fa45.tar.bz2 |
am 252aedb3: am 6a7a2870: am 99141cdd: Sleep 500us between i2c writes, as per latest advice from NXP.
* commit '252aedb3edd2c04adedeb5c9f8369af504411dad':
Sleep 500us between i2c writes, as per latest advice from NXP.
Diffstat (limited to 'Linux_x86')
-rw-r--r-- | Linux_x86/phDal4Nfc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Linux_x86/phDal4Nfc.c b/Linux_x86/phDal4Nfc.c index 2428f6c..87def2b 100644 --- a/Linux_x86/phDal4Nfc.c +++ b/Linux_x86/phDal4Nfc.c @@ -881,6 +881,7 @@ void phDal4Nfc_DeferredCb (void *params) /* DAL_DEBUG("dalMsg->transactInfo.length : %d\n", dalMsg->transactInfo.length); */ /* Make a Physical WRITE */ /* NOTE: need to usleep(3000) here if the write is for SWP */ + usleep(500); /* NXP advise 500us sleep required between I2C writes */ gReadWriteContext.nNbOfBytesWritten = gLinkFunc.write(gReadWriteContext.pWriteBuffer, gReadWriteContext.nNbOfBytesToWrite); if (gReadWriteContext.nNbOfBytesWritten != gReadWriteContext.nNbOfBytesToWrite) { |