Skip to content

Commit

Permalink
GPT: Fix prototype of function (explicit empty argument list) (#293)
Browse files Browse the repository at this point in the history
Co-authored-by: j.geudens <j.geudens@edna.eu>
  • Loading branch information
jgeudens and j.geudens authored Oct 11, 2023
1 parent e28c088 commit ebb9e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ra/fsp/inc/instances/r_gpt.h
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ fsp_err_t R_GPT_CallbackSet(timer_ctrl_t * const p_api_ctrl,
void const * const p_context,
timer_callback_args_t * const p_callback_memory);
fsp_err_t R_GPT_Close(timer_ctrl_t * const p_ctrl);
fsp_err_t R_GPT_PwmOutputDelayInitialize();
fsp_err_t R_GPT_PwmOutputDelayInitialize(void);

/*******************************************************************************************************************//**
* @} (end defgroup GPT)
Expand Down
2 changes: 1 addition & 1 deletion ra/fsp/src/r_gpt/r_gpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ fsp_err_t R_GPT_Close (timer_ctrl_t * const p_ctrl)
* @retval FSP_ERR_INVALID_STATE The source clock frequnecy is out of the required range for the PDG.
* @retval FSP_ERR_UNSUPPORTED This feature is not supported.
**********************************************************************************************************************/
fsp_err_t R_GPT_PwmOutputDelayInitialize ()
fsp_err_t R_GPT_PwmOutputDelayInitialize (void)
{
#if 0U != BSP_FEATURE_GPT_ODC_VALID_CHANNEL_MASK && GPT_CFG_OUTPUT_SUPPORT_ENABLE
#if BSP_FEATURE_GPT_ODC_FRANGE_FREQ_MIN > 0 || GPT_CFG_PARAM_CHECKING_ENABLE
Expand Down

0 comments on commit ebb9e01

Please sign in to comment.