]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/protocols.c
ADD: `analyse nuid` - generates NUID 4byte from a UID 7byte. Mifare Classic Ev1...
[proxmark3-svn] / common / protocols.c
index 29ae24a76326670fffc9f4e6ecd6a4c1840c4341..c78aeef4b526a4c9c8388ed315e51c3fb4d1af6f 100644 (file)
@@ -1,6 +1,3 @@
-#include <string.h>
-#include <stdint.h>
-#include <stdarg.h>
 #include "protocols.h"
 
 // ATA55xx shared presets & routines
@@ -60,7 +57,7 @@ void fuse_config(const picopass_hdr *hdr) {
 void getMemConfig(uint8_t mem_cfg, uint8_t chip_cfg, uint8_t *max_blk, uint8_t *app_areas, uint8_t *kb) {
        // mem-bit 5, mem-bit 7, chip-bit 4: defines chip type
        uint8_t k16             = isset(mem_cfg, 0x80);
-       uint8_t k2              = isset(mem_cfg, 0x08);
+       //uint8_t k2            = isset(mem_cfg, 0x08);
        uint8_t book    = isset(mem_cfg, 0x20);
        
        if(isset(chip_cfg, 0x10) && !k16 && !book) {
Impressum, Datenschutz