[Solved] Distinction between esp_partition_find() and esp_partition_find_first()
Posted: Fri Dec 02, 2016 3:54 am
I'm not following the distinction between esp_partition_find() and esp_partition_find_first(). When would I use one vs the other? What does it mean to create an iterator for partitions that doesn't point to the "first" in the set of possibilities?
Later ... got it ...
esp_partition_find() returns an iterator which can then be used to get the partition and then we dispose of the iterator while esp_partition_find_first() returns the partition and NOT the iterator ... presumably doing the equivalent of a find_first() a get() and an iterator_release() all in a convenience.
Later ... got it ...
esp_partition_find() returns an iterator which can then be used to get the partition and then we dispose of the iterator while esp_partition_find_first() returns the partition and NOT the iterator ... presumably doing the equivalent of a find_first() a get() and an iterator_release() all in a convenience.