mirror of
				https://github.com/Proxmark/proxmark3.git
				synced 2025-10-25 21:46:59 +08:00 
			
		
		
		
	hf mf nested: use bitwise or instead. (#556)
This commit is contained in:
		
							parent
							
								
									298e1a2d0d
								
							
						
					
					
						commit
						32e6891a05
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -683,9 +683,9 @@ int CmdHF14AMfNested(const char *Cmd) | |||
| 			if (transferToEml) { | ||||
| 				uint8_t sectortrailer; | ||||
| 				if (trgBlockNo < 32*4) { 	// 4 block sector
 | ||||
| 					sectortrailer = (trgBlockNo & ~0x03) + 3; | ||||
| 					sectortrailer = trgBlockNo | 0x03; | ||||
| 				} else {					// 16 block sector
 | ||||
| 					sectortrailer = (trgBlockNo & ~0x0f) + 15; | ||||
| 					sectortrailer = trgBlockNo | 0x0f; | ||||
| 				} | ||||
| 				mfEmlGetMem(keyBlock, sectortrailer, 1); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue