From f54e99008deff6596efee563e42a9724d8c28f74 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 17 Nov 2017 10:52:21 +1100 Subject: [PATCH] spi: Add ESP_ERR_NO_MEM to spi_device_queue_trans() documentation Ref https://github.com/espressif/esp-idf/pull/1243#issuecomment-343103414 --- components/driver/include/driver/spi_master.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/driver/include/driver/spi_master.h b/components/driver/include/driver/spi_master.h index 2dac55782..4e5b66f62 100644 --- a/components/driver/include/driver/spi_master.h +++ b/components/driver/include/driver/spi_master.h @@ -182,9 +182,10 @@ esp_err_t spi_bus_remove_device(spi_device_handle_t handle); * @param trans_desc Description of transaction to execute * @param ticks_to_wait Ticks to wait until there's room in the queue; use portMAX_DELAY to * never time out. - * @return + * @return * - ESP_ERR_INVALID_ARG if parameter is invalid * - ESP_ERR_TIMEOUT if there was no room in the queue before ticks_to_wait expired + * - ESP_ERR_NO_MEM if allocating DMA-capable temporary buffer failed * - ESP_OK on success */ esp_err_t spi_device_queue_trans(spi_device_handle_t handle, spi_transaction_t *trans_desc, TickType_t ticks_to_wait);