diff --git a/armsrc/Standalone/hf_colin.c b/armsrc/Standalone/hf_colin.c index 97ee329de..46a9a2dfc 100644 --- a/armsrc/Standalone/hf_colin.c +++ b/armsrc/Standalone/hf_colin.c @@ -207,7 +207,7 @@ void RunMod() { cjcuid = 0; uint8_t sectorsCnt = (MF1KSZ / MF1KSZSIZE); uint64_t key64; // Defines current key - uint8_t *keyBlock = NULL; // Where the keys will be held in memory. + uint8_t *keyBlock; // Where the keys will be held in memory. /* VIGIK EXPIRED DUMP FOR STUDY Sector 0 diff --git a/armsrc/Standalone/hf_mattyrun.c b/armsrc/Standalone/hf_mattyrun.c index 8cac76c35..2945a5fbd 100644 --- a/armsrc/Standalone/hf_mattyrun.c +++ b/armsrc/Standalone/hf_mattyrun.c @@ -191,7 +191,6 @@ static int saMifareChkKeys(uint8_t blockNo, uint8_t keyType, bool clearTrace, ui return -1; } - void RunMod() { StandAloneMode(); Dbprintf(">> Matty mifare chk/dump/sim a.k.a MattyRun Started <<"); @@ -230,7 +229,7 @@ void RunMod() { uint8_t sectorsCnt = (mifare_size / sectorSize); uint8_t keyType = 2; // Keytype buffer uint64_t key64; // Defines current key - uint8_t *keyBlock = NULL; // Where the keys will be held in memory. + uint8_t *keyBlock; // Where the keys will be held in memory. uint8_t stKeyBlock = 20; // Set the quantity of keys in the block. uint8_t filled = 0; // Used to check if the memory was filled with success. bool keyFound = false;