mirror of
				https://github.com/RfidResearchGroup/proxmark3.git
				synced 2025-10-31 00:17:02 +08:00 
			
		
		
		
	optional log
This commit is contained in:
		
							parent
							
								
									5ca50cf1b8
								
							
						
					
					
						commit
						acb598756c
					
				
					 1 changed files with 5 additions and 3 deletions
				
			
		|  | @ -713,7 +713,6 @@ bool GetATR(smart_card_atr_t *card_ptr) { | |||
| void SmartCardAtr(void) { | ||||
|     smart_card_atr_t card; | ||||
|     LED_D_ON(); | ||||
|     clear_trace(); | ||||
|     set_tracing(true); | ||||
|     I2C_Reset_EnterMainProgram(); | ||||
|     bool isOK = GetATR(&card); | ||||
|  | @ -730,10 +729,13 @@ void SmartCardRaw(uint64_t arg0, uint64_t arg1, uint8_t *data) { | |||
|     uint8_t *resp = BigBuf_malloc(ISO7618_MAX_FRAME); | ||||
|     smartcard_command_t flags = arg0; | ||||
| 
 | ||||
|     if ((flags & SC_CONNECT)) | ||||
|     if ((flags & SC_CLEARLOG) == SC_CLEARLOG) | ||||
|         clear_trace(); | ||||
| 
 | ||||
|     set_tracing(true); | ||||
|     if ((flags & SC_LOG) == SC_LOG) | ||||
|         set_tracing(true); | ||||
|     else  | ||||
|         set_tracing(false); | ||||
| 
 | ||||
|     if ((flags & SC_CONNECT)) { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue