From ac9c8c89d16e2c458c9c43e1def75d4e1f8f5b9b Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Thu, 2 Jun 2011 14:15:21 -0700 Subject: Prevent NFC crash-loop if firmware cannot be loaded. Don't crash - just run off whatever firmware is in the chip now. Change-Id: I0d24c13452271aed63a5a0aea236db7b1cbd432c --- src/phHal4Nfc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/phHal4Nfc.c') diff --git a/src/phHal4Nfc.c b/src/phHal4Nfc.c index ebd447f..c3599a6 100644 --- a/src/phHal4Nfc.c +++ b/src/phHal4Nfc.c @@ -302,8 +302,8 @@ phHal4Nfc_Configure_Layers( #include #include -const unsigned char *nxp_nfc_full_version; -const unsigned char *nxp_nfc_fw; +const unsigned char *nxp_nfc_full_version = NULL; +const unsigned char *nxp_nfc_fw = NULL; int dlopen_firmware() { void *p; -- cgit v1.1