Browse Source

min expanded GPIO is based on esp32's data

Philippe G 3 years ago
parent
commit
6fb458eff7
1 changed files with 2 additions and 1 deletions
  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;