summaryrefslogtreecommitdiffstats
path: root/modules/nfc/nfc_hw_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nfc/nfc_hw_example.c')
-rw-r--r--modules/nfc/nfc_hw_example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/nfc/nfc_hw_example.c b/modules/nfc/nfc_hw_example.c
index 9769282..54c9c56 100644
--- a/modules/nfc/nfc_hw_example.c
+++ b/modules/nfc/nfc_hw_example.c
@@ -44,6 +44,7 @@ static int nfc_open(const hw_module_t* module, const char* name,
dev->linktype = PN544_LINK_TYPE_INVALID;
dev->device_node = NULL;
dev->enable_i2c_workaround = 0;
+ dev->i2c_device_address = 0;
*device = (hw_device_t*) dev;
return 0;