 biologist79
					
					5 years ago
						biologist79
					
					5 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: 4AEE18F83AFDEB23
				  	
				  
				
			
		
		
		
	
		
			
				 1 changed files with 
2 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/Wlan.cpp
				
					
					
						
							
								
									
										
											
	
		
			
				|  | @ -73,7 +73,7 @@ void Wlan_Cyclic(void) { | 
		
	
		
			
				|  |  |         WiFi.begin(_ssid, _pwd); |  |  |         WiFi.begin(_ssid, _pwd); | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |         uint8_t tryCount = 0; |  |  |         uint8_t tryCount = 0; | 
		
	
		
			
				|  |  |         while (WiFi.status() != WL_CONNECTED && tryCount <= 4) { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         while (WiFi.status() != WL_CONNECTED && tryCount <= 12) { | 
		
	
		
			
				|  |  |             delay(500); |  |  |             delay(500); | 
		
	
		
			
				|  |  |             Serial.print(F(".")); |  |  |             Serial.print(F(".")); | 
		
	
		
			
				|  |  |             tryCount++; |  |  |             tryCount++; | 
		
	
	
		
			
				|  | @ -166,4 +166,4 @@ void writeWifiStatusToNVS(bool wifiStatus) { | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  | bool Wlan_IsConnected(void) { |  |  | bool Wlan_IsConnected(void) { | 
		
	
		
			
				|  |  |     return (WiFi.status() == WL_CONNECTED); |  |  |     return (WiFi.status() == WL_CONNECTED); | 
		
	
		
			
				|  |  | } |  |  |  | 
		
	
		
			
				|  |  |  |  |  | } |