Merge pull request #539 from rstular/patch-2
Updated function declaration in utils/nfc-mfultralight.c
This commit is contained in:
commit
7908d405dd
1 changed files with 2 additions and 4 deletions
|
@ -291,10 +291,8 @@ unlock_card(void)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool check_magic() {
|
static bool check_magic(void)
|
||||||
// Firstly try to directly read and re-write the first three pages
|
{
|
||||||
// if this fail try to unlock with chinese magic backdoor
|
|
||||||
|
|
||||||
bool directWrite = true;
|
bool directWrite = true;
|
||||||
// Try to read pages 0, 1, 2
|
// Try to read pages 0, 1, 2
|
||||||
uint8_t original_b0[12];
|
uint8_t original_b0[12];
|
||||||
|
|
Loading…
Reference in a new issue