X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/39d3ce5dd66a1e3e135331db444f38b2ed32691a..5a28b51036943af40b8036ce4f1e4afe42ad8106:/common/iso15693tools.c

diff --git a/common/iso15693tools.c b/common/iso15693tools.c
index 26e636ca..f1214458 100644
--- a/common/iso15693tools.c
+++ b/common/iso15693tools.c
@@ -11,6 +11,12 @@
 #include <stdint.h>
 #include <stdlib.h>
 //#include "iso15693tools.h"
+#ifdef ON_DEVICE
+#include "printf.h"
+#else
+#include <stdio.h>
+#endif
+
 
 #define POLY 0x8408
 
@@ -51,8 +57,6 @@ int Iso15693AddCrc(uint8_t *req, int n) {
 }
 
 
-int sprintf(char *str, const char *format, ...);
-
 // returns a string representation of the UID
 // UID is transmitted and stored LSB first, displayed MSB first
 //		target    char* buffer, where to put the UID, if NULL a static buffer is returned