wangzhen

Results 2 issues of wangzhen

``` esp_err_t nvs_action_get_stats(void *instance, action_arg_t *arg, action_result_t *result) { AUDIO_MEM_CHECK(TAG, arg, return ESP_FAIL); AUDIO_MEM_CHECK(TAG, result, return ESP_FAIL); result->data = audio_calloc(1, sizeof(action_result_t)); result->len = sizeof(action_result_t); return nvs_get_stats(arg->data, result->data); } ``` `result->data`...

``` esp_err_t tone_partition_get_file_info(tone_partition_handle_t handle, uint16_t index, tone_file_info_t *info) { AUDIO_NULL_CHECK(TAG, handle, return ESP_FAIL); AUDIO_NULL_CHECK(TAG, info, return ESP_FAIL); if (handle->header.total_num < index) { ESP_LOGE(TAG, "Wanted index out of range index[%d]", index);...