mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
remove debugstuff
This commit is contained in:
parent
9dca01d1bc
commit
bc692c2ad2
1 changed files with 8 additions and 10 deletions
|
@ -627,9 +627,6 @@ int GetIso15693AnswerFromTag(uint8_t* response, uint16_t max_len, uint16_t timeo
|
||||||
DecodeTag_t *dt = &dtm;
|
DecodeTag_t *dt = &dtm;
|
||||||
DecodeTagInit(dt, response, max_len);
|
DecodeTagInit(dt, response, max_len);
|
||||||
|
|
||||||
//DecodeTag_t *dt = (DecodeTag_t *)BigBuf_malloc(sizeof(DecodeTag_t));
|
|
||||||
//DecodeTagInit(dt, response, max_len);
|
|
||||||
|
|
||||||
// wait for last transfer to complete
|
// wait for last transfer to complete
|
||||||
while (!(AT91C_BASE_SSC->SSC_SR & AT91C_SSC_TXEMPTY));
|
while (!(AT91C_BASE_SSC->SSC_SR & AT91C_SSC_TXEMPTY));
|
||||||
|
|
||||||
|
@ -1084,8 +1081,7 @@ int GetIso15693CommandFromReader(uint8_t *received, size_t max_len, uint32_t *eo
|
||||||
}
|
}
|
||||||
uint8_t *upTo = dma->buf;
|
uint8_t *upTo = dma->buf;
|
||||||
|
|
||||||
// uint32_t dma_start_time = GetCountSspClk() & 0xfffffff8;
|
uint32_t dma_start_time = GetCountSspClk() & 0xfffffff8;
|
||||||
uint32_t dma_start_time;
|
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
volatile uint16_t behindBy = ((uint8_t*)AT91C_BASE_PDC_SSC->PDC_RPR - upTo) & (DMA_BUFFER_SIZE - 1);
|
volatile uint16_t behindBy = ((uint8_t*)AT91C_BASE_PDC_SSC->PDC_RPR - upTo) & (DMA_BUFFER_SIZE - 1);
|
||||||
|
@ -1343,6 +1339,8 @@ void SniffIso15693(uint8_t jam_search_len, uint8_t *jam_search_string) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// no need to try decoding reader data if the tag is sending
|
// no need to try decoding reader data if the tag is sending
|
||||||
if (tag_is_active == false) {
|
if (tag_is_active == false) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue