Ver Fonte

WIP User Interface improvement. Fix SqueezeAmp build - release

Sebastien há 4 anos atrás
pai
commit
189bc763dd
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      components/services/accessors.c

+ 1 - 1
components/services/accessors.c

@@ -370,7 +370,7 @@ cJSON * get_gpio_list() {
 	}
 #else
 		if(adc1_pad_get_io_num(CONFIG_BAT_CHANNEL,&gpio_num )==ESP_OK){
-			cJSON_AddItemToArray(list,get_gpio_entry("bat","",gpio_num,true));
+			cJSON_AddItemToArray(gpio_list,get_gpio_entry("bat","",gpio_num,true));
 		}
 #endif
 	gpio_list = get_GPIO_from_nvs("i2c_config","i2c", gpio_list, false);