Fix sector counts.

Submitted by:	Romuald Conty <rconty@il4p.fr>
Pointy hat to:	me
This commit is contained in:
Romain Tartiere 2010-07-27 13:54:09 +00:00
parent 21fa85ca1d
commit 0ada18e508

View file

@ -243,10 +243,10 @@ main(int argc, char *argv[])
MifareClassicSectorNumber max_s;
switch (freefare_get_tag_type (tags[i])) {
case CLASSIC_1K:
max_s = 16;
max_s = 15;
break;
case CLASSIC_4K:
max_s = 40;
max_s = 39;
break;
default:
/* Keep compiler quiet */