Skip to content

Commit c42facb

Browse files
authored
Merge pull request #11859 from espressif/fix/esp_sr_debug_message_uses_pointer
fix(esp_sr): Error with debug level log
2 parents a4feb6c + 36c9de8 commit c42facb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP_SR/src/esp32-hal-sr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ esp_err_t sr_start(
343343
// Load WakeWord Detection
344344
afe_config_t *afe_config = afe_config_init(input_format, models, AFE_TYPE_SR, AFE_MODE_LOW_COST);
345345
g_sr_data->afe_handle = esp_afe_handle_from_config(afe_config);
346-
log_d("load wakenet '%s'", afe_config.wakenet_model_name);
346+
log_d("load wakenet '%s'", afe_config->wakenet_model_name);
347347
g_sr_data->afe_data = g_sr_data->afe_handle->create_from_config(afe_config);
348348
afe_config_free(afe_config);
349349

0 commit comments

Comments
 (0)