summaryrefslogtreecommitdiff
path: root/2.0/default/NqNfc.cpp
diff options
context:
space:
mode:
authorTapas Dey <tdey@codeaurora.org>2020-05-06 10:37:54 +0530
committerTapas Dey <tdey@codeaurora.org>2020-05-21 10:42:59 +0530
commitcaa7ca612a8f57ca4e2f020d030f5d21e84ed4ad (patch)
tree8dce70df4a27e314065ff18433b6162a8ff41fd4 /2.0/default/NqNfc.cpp
parentbdd6847f89e15a51d2ab676a4f3cb1e9ebc80baa (diff)
NFC: Fix compilation issuesHEADsugisawa-pn5xx
Modified code to fix build errors. Removed inclusion of unwanted library from build rules. Change-Id: I2d56bfb9b36249a5bb6841119974bd743f20f93e
Diffstat (limited to '2.0/default/NqNfc.cpp')
-rw-r--r--2.0/default/NqNfc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/2.0/default/NqNfc.cpp b/2.0/default/NqNfc.cpp
index 4e2cd03..8e07a6f 100644
--- a/2.0/default/NqNfc.cpp
+++ b/2.0/default/NqNfc.cpp
@@ -85,12 +85,12 @@ Return<bool> NqNfc::setVendorParam(const ::android::hardware::hidl_string &key,
return phNxpNciHal_setSystemProperty(key, value);
}
-Return<bool> NqNfc::resetEse(uint64_t resetType) {
+Return<bool> NqNfc::resetEse(uint64_t /* resetType */) {
NFCSTATUS status = NFCSTATUS_FAILED;
bool ret = false;
ALOGD("NqNfc::resetEse Entry");
- status = phNxpNciHal_resetEse(resetType);
+ status = phNxpNciHal_resetEse();
if(NFCSTATUS_SUCCESS == status) {
ret = true;
status = NFCSTATUS_SUCCESS;