docs(spi_flash): Fix redundant phrasing in esp_flash_get_size

Fixed redundant wording in esp_flash_get_size .
This commit is contained in:
Antonio Almeida
2026-02-27 21:27:16 +01:00
committed by aalmeidarr
parent 490691bc61
commit e09e5d658f
+1 -1
View File
@@ -71,7 +71,7 @@ esp_err_t esp_flash_read_id(esp_flash_t *chip, uint32_t *out_id);
*
* @note 1. Most flash chips use a common format for flash ID, where the lower 4 bits specify the size as a power of 2. If
* the manufacturer doesn't follow this convention, the size may be incorrectly detected.
* 2. The out_size returned only stands for The out_size stands for the size in the binary image header.
* 2. The out_size stands for the size in the binary image header.
* If you want to get the real size of the chip, please call `esp_flash_get_physical_size` instead.
*
* @return ESP_OK on success, or a flash error code if operation failed.