components/driver: 'const' all config calls.

Some were, some weren't. They all could/should be.

Signed-off-by: Michel Pollet <buserror@gmail.com>
This commit is contained in:
Michel Pollet
2017-04-13 18:33:33 +01:00
parent 375b28650b
commit 349a77cb55
16 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ typedef intr_handle_t pcnt_isr_handle_t;
* - ESP_OK Success
* - ESP_ERR_INVALID_ARG Parameter error
*/
esp_err_t pcnt_unit_config(pcnt_config_t *pcnt_config);
esp_err_t pcnt_unit_config(const pcnt_config_t *pcnt_config);
/**
* @brief Get pulse counter value