Skip to content

Commit 23525d0

Browse files
committed
ESP32: Create devices for all data partitions
No matter what the subtype is
1 parent 9ac6a62 commit 23525d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/esp32/esp32_fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ bool esp32_fs_mount_part(const char *label, const char *path,
8080

8181
static void esp32_register_partition_devs(void) {
8282
esp_partition_iterator_t pit = esp_partition_find(
83-
ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_DATA_SPIFFS, NULL);
83+
ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_ANY, NULL);
8484
while (pit != NULL) {
8585
const esp_partition_t *p = esp_partition_get(pit);
8686
char dev_opts[100];

0 commit comments

Comments
 (0)