]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - common/iso15693tools.c
small fix to please @dmaij's compiler (issue #703)
[proxmark3-svn] / common / iso15693tools.c
index cf7d5341cead23a1c9ad97fcffa1b5c4f290c219..f121445862ceccf8c5d048cd41b2960840521d2f 100644 (file)
 #include <stdint.h>
 #include <stdlib.h>
 //#include "iso15693tools.h"
+#ifdef ON_DEVICE
+#include "printf.h"
+#else
+#include <stdio.h>
+#endif
+
 
 #define POLY 0x8408
 
@@ -50,9 +56,6 @@ int Iso15693AddCrc(uint8_t *req, int n) {
        return n+2;
 }
 
-#ifdef ON_DEVICE
-int sprintf(char *str, const char *format, ...);
-#endif
 
 // returns a string representation of the UID
 // UID is transmitted and stored LSB first, displayed MSB first
Impressum, Datenschutz