\r
// some statistic\r
if (!ntptr && (MF_DBGLEVEL >= 3))\r
- Dbprintf("auth uid: %08x nt: %08x", uid, nt); \r
+ Dbprintf("auth uid: %08x | nr: %08x | nt: %08x", uid, nr, nt);\r
\r
// save Nt\r
if (ntptr)\r
memset(emCARD, 0, CARD_MEMORY_SIZE);\r
\r
// fill sectors trailer data\r
- for(uint8_t b = 3; b < 256; b < 127 ? (b += 4) : (b += 16))\r
+ for(uint16_t b = 3; b < 256; ((b < 127) ? (b += 4) : (b += 16)))\r
emlSetMem((uint8_t *)trailer, b, 1);\r
\r
// uid\r