Skip to content

Commit

Permalink
ret_err_code
Browse files Browse the repository at this point in the history
Co-authored-by: Ryo Suzumoto <[email protected]>
  • Loading branch information
771-8bit and meltingrabbit authored Nov 15, 2024
1 parent 01e2316 commit 410aed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/watchdog_timer/watchdog_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ CCP_CmdRet Cmd_WDT_SET_TIMER(const CommonCmdPacket* packet)
Printf("WDT timer set to %d\n", (uint32_t)wdt_config->timer_setting);
if (ret != 0)
{
return CCP_make_cmd_ret_without_err_code(CCP_EXEC_ILLEGAL_CONTEXT);
return CCP_make_cmd_ret(CCP_EXEC_ILLEGAL_CONTEXT, (uint32_t)ret);
}
return CCP_make_cmd_ret_without_err_code(CCP_EXEC_SUCCESS);
}
Expand Down

0 comments on commit 410aed1

Please sign in to comment.