|  | @@ -159,8 +159,10 @@ void platform_init()
 | 
	
		
			
				|  |  |      gpio_conf(SDIO_D1,        GPIO_FUNC_SIO, true, false, false, true, true);
 | 
	
		
			
				|  |  |      gpio_conf(SDIO_D2,        GPIO_FUNC_SIO, true, false, false, true, true);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    // LED pin
 | 
	
		
			
				|  |  | -    //gpio_conf(LED_PIN,        GPIO_FUNC_SIO, false,false, true,  false, false);
 | 
	
		
			
				|  |  | +    if (!platform_network_supported()) {
 | 
	
		
			
				|  |  | +        // LED pin
 | 
	
		
			
				|  |  | +        gpio_conf(LED_PIN,        GPIO_FUNC_SIO, false,false, true,  false, false);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  #ifndef ENABLE_AUDIO_OUTPUT
 | 
	
		
			
				|  |  |  #ifdef GPIO_I2C_SDA
 | 
	
	
		
			
				|  | @@ -304,9 +306,11 @@ bool platform_is_initiator_mode_enabled()
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  void platform_disable_led(void)
 | 
	
		
			
				|  |  | -{   
 | 
	
		
			
				|  |  | -    //        pin      function       pup   pdown  out    state fast
 | 
	
		
			
				|  |  | -    //gpio_conf(LED_PIN, GPIO_FUNC_SIO, false,false, false, false, false);
 | 
	
		
			
				|  |  | +{
 | 
	
		
			
				|  |  | +    if (!platform_network_supported()) {
 | 
	
		
			
				|  |  | +        //        pin      function       pup   pdown  out    state fast
 | 
	
		
			
				|  |  | +        gpio_conf(LED_PIN, GPIO_FUNC_SIO, false,false, false, false, false);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |      log("Disabling status LED");
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 |