mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	service: nfc: Start adapter communication on scan (#6671)
This commit is contained in:
		
							parent
							
								
									cd3244f139
								
							
						
					
					
						commit
						26e3f96983
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -218,7 +218,10 @@ ResultCode NfcDevice::StartDetection(TagProtocol allowed_protocol) { | ||||||
|         return ResultInvalidOperation; |         return ResultInvalidOperation; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // TODO: Set console in search mode here
 |     // Ensure external device is active
 | ||||||
|  |     if (communication_state == CommunicationState::Idle) { | ||||||
|  |         StartCommunication(); | ||||||
|  |     } | ||||||
| 
 | 
 | ||||||
|     device_state = DeviceState::SearchingForTag; |     device_state = DeviceState::SearchingForTag; | ||||||
|     allowed_protocols = allowed_protocol; |     allowed_protocols = allowed_protocol; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue