|
|
@@ -159,7 +159,7 @@ esp_err_t spi_bus_initialize(spi_host_device_t host_id, const spi_bus_config_t *
|
|
|
* @param host_id SPI peripheral to free
|
|
|
* @return
|
|
|
* - ESP_ERR_INVALID_ARG if parameter is invalid
|
|
|
- * - ESP_ERR_INVALID_STATE if not all devices on the bus are freed
|
|
|
+ * - ESP_ERR_INVALID_STATE if bus hasn't been initialized before, or not all devices on the bus are freed
|
|
|
* - ESP_OK on success
|
|
|
*/
|
|
|
esp_err_t spi_bus_free(spi_host_device_t host_id);
|