BUG: the lf read now uses "getbigbuffer" which the offset from where the data starts in "data samples nnnnn" needed to be set.

ADD:  ioprox nxp identifikations
This commit is contained in:
iceman1001
2014-10-24 00:04:56 +02:00
parent 72e930ef32
commit c2d25819d8
5 changed files with 38 additions and 40 deletions

View File

@@ -464,8 +464,8 @@ int CmdSamples(const char *Cmd)
if (n == 0) n = 512;
if (n > sizeof(got)) n = sizeof(got);
PrintAndLog("Reading %d samples\n", n);
GetFromBigBuf(got,n,0);
PrintAndLog("Reading %d samples from device memory\n", n);
GetFromBigBuf(got,n,3560);
WaitForResponse(CMD_ACK,NULL);
for (int j = 0; j < n; j++) {
GraphBuffer[cnt++] = ((int)got[j]) - 128;