소스 검색

min expanded GPIO is based on esp32's data

Philippe G 3 년 전
부모
커밋
6fb458eff7
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      components/services/accessors.c

+ 2 - 1
components/services/accessors.c

@@ -489,7 +489,8 @@ const gpio_exp_config_t* config_gpio_exp_get(void) {
 	char *nvs_item, *p;
 	static gpio_exp_config_t config = {
 		.intr = -1,
-		.count = 8,	
+		.count = 16,	
+		.base = GPIO_NUM_MAX,
 	};
 	config.phy.port = i2c_system_port;