diff options
author | Steve Block <steveblock@google.com> | 2012-01-05 23:18:54 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-05 23:18:54 +0000 |
commit | 113bdd7504d69f483c4208bc30a457b7ff4b69fa (patch) | |
tree | 41e0323f13967823e5b1528acdb7ba6aa2860e48 /Linux_x86 | |
parent | 1f23e48e59a9d8ba8bfd60c4a4de4fb656651200 (diff) | |
download | external_libnfc-nxp-113bdd7504d69f483c4208bc30a457b7ff4b69fa.zip external_libnfc-nxp-113bdd7504d69f483c4208bc30a457b7ff4b69fa.tar.gz external_libnfc-nxp-113bdd7504d69f483c4208bc30a457b7ff4b69fa.tar.bz2 |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I05dd3a5e5f671c0fdc17bf4e3d52395ccdb56e45
Diffstat (limited to 'Linux_x86')
-rw-r--r-- | Linux_x86/phDal4Nfc_uart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Linux_x86/phDal4Nfc_uart.c b/Linux_x86/phDal4Nfc_uart.c index b19c5c5..e8dbce9 100644 --- a/Linux_x86/phDal4Nfc_uart.c +++ b/Linux_x86/phDal4Nfc_uart.c @@ -253,11 +253,11 @@ static int apply_errors(uint8_t *buffer, int length) { // 50% chance of dropping byte length--; memcpy(&buffer[i], &buffer[i+1], length-i); - LOGW("dropped byte %d", i); + ALOGW("dropped byte %d", i); } else { // 50% chance of corruption buffer[i] = (uint8_t)rand(); - LOGW("corrupted byte %d", i); + ALOGW("corrupted byte %d", i); } } } @@ -344,7 +344,7 @@ int phDal4Nfc_uart_read(uint8_t * pBuffer, int nNbBytesToRead) } return -1; } else if (ret == 0) { - LOGW("timeout!"); + ALOGW("timeout!"); break; // return partial response } ret = read(gComPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead); |