]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/iso15693tools.c
DEL: removed old iso14443.c since @pwpiwi renamed it..
[proxmark3-svn] / common / iso15693tools.c
index 0f7a250bf94c54651ec048474c3ced3d2b56c0f9..0ec5492b996d8897513b34e3a85b7f2adf9fd3d8 100644 (file)
@@ -7,7 +7,7 @@
 //-----------------------------------------------------------------------------
 
 
 //-----------------------------------------------------------------------------
 
 
-#include "proxmark3.h"
+#include "../include/proxmark3.h"
 #include <stdint.h>
 #include <stdlib.h>
 //#include "iso15693tools.h"
 #include <stdint.h>
 #include <stdlib.h>
 //#include "iso15693tools.h"
@@ -66,11 +66,11 @@ char* Iso15693sprintUID(char *target,uint8_t *uid) {
   return target;
 }
 
   return target;
 }
 
-unsigned short iclass_crc16(char *data_p, unsigned short length)
+uint16_t iclass_crc16(char *data_p, unsigned short length)
 {
       unsigned char i;
       unsigned int data;
 {
       unsigned char i;
       unsigned int data;
-      unsigned int crc = 0xffff;
+         uint16_t crc = 0xffff;
 
       if (length == 0)
             return (~crc);
 
       if (length == 0)
             return (~crc);
Impressum, Datenschutz