From 60dfd87e659b183161958cf69eb89c92b416e6e9 Mon Sep 17 00:00:00 2001 From: Jakob Hasse Date: Fri, 18 Sep 2020 12:07:43 +0800 Subject: [PATCH] SPI Flash: fix doc error in esp_partition.h --- components/spi_flash/include/esp_partition.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/spi_flash/include/esp_partition.h b/components/spi_flash/include/esp_partition.h index 930f7d69aa..24c1d3dfa7 100644 --- a/components/spi_flash/include/esp_partition.h +++ b/components/spi_flash/include/esp_partition.h @@ -256,9 +256,9 @@ esp_err_t esp_partition_write(const esp_partition_t* partition, size_t dst_offset, const void* src, size_t size); /** - * @brief Read data from the partition + * @brief Read data from the partition without any transformation/decryption. * - * @note This function is essentially the same as \c esp_partition_write() above. + * @note This function is essentially the same as \c esp_partition_read() above. * It just never decrypts data but returns it as is. * * @param partition Pointer to partition structure obtained using