Using defined command code

This commit is contained in:
Blaine Forbort 2014-12-22 00:21:20 -08:00
parent 46e14b0f96
commit 082789c4df

View file

@ -309,7 +309,7 @@ void MifareDES_Auth1(uint8_t mode, uint8_t algo, uint8_t keyno, uint8_t *datain
//Change the selected key to a new value. //Change the selected key to a new value.
/* /*
cmd[0] = 0xc4; cmd[0] = CHANGE_KEY;
cmd[1] = keyno; cmd[1] = keyno;
uint8_t newKey[16] = {0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77}; uint8_t newKey[16] = {0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77};