Fix sector counts.
Submitted by: Romuald Conty <rconty@il4p.fr> Pointy hat to: me
This commit is contained in:
parent
21fa85ca1d
commit
0ada18e508
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue