X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/38b65694d61805baa4f0f0d55949d183462b18a7..7f93ef2c228855f26d3eb88ee1c878fbb6b53a12:/armsrc/appmain.c diff --git a/armsrc/appmain.c b/armsrc/appmain.c index e7b868bd..77bbbbc4 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -144,7 +144,7 @@ void ModThenAcquireRawAdcSamples125k(int delay_off,int period_0,int period_1,BYT BOOL at134khz; // see if 'h' was specified - if(command[strlen(command) - 1] == 'h') + if(command[strlen((char *) command) - 1] == 'h') at134khz= TRUE; else at134khz= FALSE; @@ -241,7 +241,7 @@ static int AvgAdc(int ch) void SweepLFrange() { BYTE *dest = (BYTE *)BigBuf; - BYTE dummy[12]; + char dummy[12]; int i, peak= 0, ptr= 0; double freq; @@ -339,6 +339,7 @@ void SimulateTagLowFrequency(int period) for(;;) { while(!(PIO_PIN_DATA_STATUS & (1<