Просмотр исходного кода

SPI Flash: fix doc error in esp_partition.h

Jakob Hasse 5 лет назад
Родитель
Сommit
60dfd87e65
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      components/spi_flash/include/esp_partition.h

+ 2 - 2
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