Skip to content

Commit

Permalink
change init call to clean call
Browse files Browse the repository at this point in the history
  • Loading branch information
renesas-adam-benson committed Aug 14, 2023
1 parent d0f4f0b commit b8b006f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ewf_adapter_renesas_common_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ ewf_result ewf_adapter_renesas_common_stop(ewf_adapter* adapter_ptr)
}

/* Cleanup the interface */
if (ewf_result_failed(result = ewf_interface_init(interface_ptr)))
if (ewf_result_failed(result = ewf_interface_clean(interface_ptr)))
{
EWF_LOG_ERROR("Failed to clean the interface: ewf_result %d.\n", result);
return EWF_RESULT_INTERFACE_INITIALIZATION_FAILED;
Expand Down

0 comments on commit b8b006f

Please sign in to comment.