Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvs_action_get_stats, result->data 数据类型有误 (AUD-5372) #1199

Closed
tobraver opened this issue Apr 25, 2024 · 2 comments
Closed

nvs_action_get_stats, result->data 数据类型有误 (AUD-5372) #1199

tobraver opened this issue Apr 25, 2024 · 2 comments

Comments

@tobraver
Copy link

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 数据类型应为 nvs_stats_t

@github-actions github-actions bot changed the title nvs_action_get_stats, result->data 数据类型有误 nvs_action_get_stats, result->data 数据类型有误 (AUD-5372) Apr 25, 2024
@hbler99
Copy link

hbler99 commented Jul 16, 2024

感谢您指出该错误,我们会尽快改正。

@jason-mao
Copy link
Collaborator

It's fixed on faabc34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants