General code and comment cleanup
This commit is contained in:
@@ -18,9 +18,9 @@ extern "C" {
|
||||
|
||||
/**
|
||||
* @brief Initialize NVS storage for relay channels.
|
||||
*
|
||||
* @attention Before calling this function, make sure the NVS flash is initialised
|
||||
* using either the nvs_flash_init() function for the default NVS partition or the
|
||||
*
|
||||
* @attention Before calling this function, make sure the NVS flash is initialised
|
||||
* using either the nvs_flash_init() function for the default NVS partition or the
|
||||
* nvs_flash_init_partition() function for a custom partition.
|
||||
*
|
||||
* @return ESP_OK on success, error code otherwise.
|
||||
@@ -32,7 +32,7 @@ esp_err_t relay_chn_nvs_init(void);
|
||||
*
|
||||
* @param[in] ch Channel number.
|
||||
* @param[in] direction Direction to store.
|
||||
*
|
||||
*
|
||||
* @note This operation is asynchronous. The value is queued to be written
|
||||
* by a background task. A subsequent `get` call may not immediately
|
||||
* reflect the new value.
|
||||
@@ -56,7 +56,7 @@ esp_err_t relay_chn_nvs_get_direction(uint8_t ch, relay_chn_direction_t *directi
|
||||
*
|
||||
* @param[in] ch Channel number.
|
||||
* @param[in] limit_sec Run limit value to store.
|
||||
*
|
||||
*
|
||||
* @note This operation is asynchronous. The value is queued to be written
|
||||
* by a background task. A subsequent `get` call may not immediately
|
||||
* reflect the new value.
|
||||
@@ -81,7 +81,7 @@ esp_err_t relay_chn_nvs_get_run_limit(uint8_t ch, uint16_t *limit_sec, uint16_t
|
||||
*
|
||||
* @param[in] ch Channel number.
|
||||
* @param[in] sensitivity Sensitivity value to store.
|
||||
*
|
||||
*
|
||||
* @note This operation is asynchronous. The value is queued to be written
|
||||
* by a background task. A subsequent `get` call may not immediately
|
||||
* reflect the new value.
|
||||
@@ -104,7 +104,7 @@ esp_err_t relay_chn_nvs_get_tilt_sensitivity(uint8_t ch, uint8_t *sensitivity, u
|
||||
*
|
||||
* @param[in] ch Channel number.
|
||||
* @param[in] tilt_count Tilt count value.
|
||||
*
|
||||
*
|
||||
* @note This operation is asynchronous. The value is queued to be written
|
||||
* by a background task. A subsequent `get` call may not immediately
|
||||
* reflect the new value.
|
||||
|
||||
Reference in New Issue
Block a user