aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Yu <jackcwyu@google.com>2020-06-23 11:03:58 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-23 11:03:58 +0000
commitcd9b3acb8569cfdea6fc31a00f759f8543ff7eb4 (patch)
treed41e7999a6cb1092a51351264815e38d0ccbe700
parent33fb78a61e2d0022a441b3a5d4f408bb2e132f26 (diff)
parentb33f02fc786dd87025cdd9fe293c618b86b77fdc (diff)
downloadplatform_hardware_st_nfc-cd9b3acb8569cfdea6fc31a00f759f8543ff7eb4.tar.gz
platform_hardware_st_nfc-cd9b3acb8569cfdea6fc31a00f759f8543ff7eb4.tar.bz2
platform_hardware_st_nfc-cd9b3acb8569cfdea6fc31a00f759f8543ff7eb4.zip
Extend timeout value of RW power notification monitor am: b33f02fc78
Original change: https://android-review.googlesource.com/c/platform/hardware/st/nfc/+/1347302 Change-Id: I9d5585317662e1617762d50a4299e018e4920f67
-rw-r--r--st21nfc/hal_wrapper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/st21nfc/hal_wrapper.cc b/st21nfc/hal_wrapper.cc
index e6b7cd1..d8cd9cf 100644
--- a/st21nfc/hal_wrapper.cc
+++ b/st21nfc/hal_wrapper.cc
@@ -433,7 +433,7 @@ void halWrapperDataCallback(uint16_t data_len, uint8_t* p_data) {
} else if ((p_data[0] == 0x6f) && (p_data[1] == 0x05)) {
// start timer
mTimerStarted = true;
- HalSendDownstreamTimer(mHalHandle, 1000);
+ HalSendDownstreamTimer(mHalHandle, 5000);
mIsActiveRW = true;
} else if ((p_data[0] == 0x6f) && (p_data[1] == 0x06)) {
// stop timer