summaryrefslogtreecommitdiffstats
path: root/src/phHciNfc_DevMgmt.c
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2011-07-27 09:39:06 -0700
committerNick Pelly <npelly@google.com>2011-07-27 09:50:09 -0700
commit4ae1db72d7bece05269579e97620555e8ded76d7 (patch)
tree0a96995a1e4b8f3724dcbf6ce3520bd7a478dbf6 /src/phHciNfc_DevMgmt.c
parent979c4c6363f8d0bc42770884ec79f022fdfb8de0 (diff)
downloadexternal_libnfc-nxp-4ae1db72d7bece05269579e97620555e8ded76d7.zip
external_libnfc-nxp-4ae1db72d7bece05269579e97620555e8ded76d7.tar.gz
external_libnfc-nxp-4ae1db72d7bece05269579e97620555e8ded76d7.tar.bz2
Print a warning message on NXP_EVT_INFO_MEM_VIOLATION.
This indicates the pn544 trim values were over-written by the faulty FW procedure, I have a FW to reset trim values to default. Revert this commit before ship. It should only be needed for dev phones. Change-Id: I77d3d66b6937f181c83022a0e0791a44974c51ae
Diffstat (limited to 'src/phHciNfc_DevMgmt.c')
-rw-r--r--src/phHciNfc_DevMgmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phHciNfc_DevMgmt.c b/src/phHciNfc_DevMgmt.c
index 32662c1..60bcf73 100644
--- a/src/phHciNfc_DevMgmt.c
+++ b/src/phHciNfc_DevMgmt.c
@@ -1339,6 +1339,7 @@ phHciNfc_Recv_DevMgmt_Event(
case NXP_EVT_INFO_MEM_VIOLATION:
{
event_info.eventType = NFC_INFO_MEM_VIOLATION;
+ LOGW("Your NFC controller is kinda hosed, take it to npelly@ to fix");
break;
}
case NXP_EVT_INFO_TEMP_OVERHEAT: