Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: xadow_smartstrap_for_pebble
Diff: XadowNFC.cpp
- Revision:
- 1:27242e2abd99
- Parent:
- 0:9d116099a88d
diff -r 9d116099a88d -r 27242e2abd99 XadowNFC.cpp
--- a/XadowNFC.cpp Wed Nov 04 09:59:37 2015 +0000
+++ b/XadowNFC.cpp Fri Nov 06 02:52:37 2015 +0000
@@ -125,18 +125,5 @@
i2c.write(NFC_DEVICE_ADDR, cmd+1, 1);
}
-void nfc_emulate_init(unsigned char *id)
-{
- unsigned char i;
-
- cmd[0] = NFC_EMULATE_INIT_ID;
- cmd[1] = 3;
- i2c.write(NFC_DEVICE_ADDR, cmd, 1);
- i2c.write(NFC_DEVICE_ADDR, cmd+1, 1);
- for(i=0;i<3;i++)
- {
- //dlc_i2c_send_byte(*(id + i));
- i2c.write(NFC_DEVICE_ADDR, (char *)(id + i), 1);
- }
-}
+