From e09e5d658fcffe9feb226fc0aedf87985fa0f5a6 Mon Sep 17 00:00:00 2001 From: Antonio Almeida <63199276+aalmeidarr@users.noreply.github.com> Date: Fri, 27 Feb 2026 21:27:16 +0100 Subject: [PATCH] docs(spi_flash): Fix redundant phrasing in esp_flash_get_size Fixed redundant wording in esp_flash_get_size . --- components/spi_flash/include/esp_flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/spi_flash/include/esp_flash.h b/components/spi_flash/include/esp_flash.h index 8d1bef07b3..375c672576 100644 --- a/components/spi_flash/include/esp_flash.h +++ b/components/spi_flash/include/esp_flash.h @@ -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.