fix my understanding of REQB vs WUPB

This commit is contained in:
marshmellow42 2015-07-03 22:35:03 -04:00
commit 146600578c
2 changed files with 11 additions and 13 deletions

View file

@ -206,7 +206,7 @@ int CmdHF14BCmdRaw (const char *Cmd) {
bool crc2 = true;
cmd2[0] = 0x05;
cmd2[1] = 0x00;
cmd2[2] = 0x00;
cmd2[2] = 0x08;
// REQB
if (HF14BCmdRaw(true, &crc2, true, cmd2, &cmdLen, false)==0) return rawClose();
@ -397,7 +397,7 @@ int HF14BStdReader(uint8_t *data, uint8_t *datalen){
//std read cmd
data[0] = 0x05;
data[1] = 0x00;
data[2] = 0x00;
data[2] = 0x08;
if (HF14BCmdRaw(true, &crc, true, data, datalen, false)==0) return rawClose();