X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/76c74bf9ad3db017873a460a496ca9dbb432fa23..19d9376c1670efa52061b571e865bd8c5e57808a:/common/protocols.c?ds=sidebyside diff --git a/common/protocols.c b/common/protocols.c index 29ae24a7..c78aeef4 100644 --- a/common/protocols.c +++ b/common/protocols.c @@ -1,6 +1,3 @@ -#include -#include -#include #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) {