Skip to content

Commit

Permalink
Merge pull request #640 from ut-issl/feature/PL_BC_LIST_CLEARED_as_el…
Browse files Browse the repository at this point in the history
…_high

PL_BC_LIST_CLEARED を level high で EL 登録する
  • Loading branch information
chutaro committed Sep 25, 2023
2 parents a7b384c + 7a27566 commit a51601b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Applications/timeline_command_dispatcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,15 @@ CCP_CmdRet Cmd_TLCD_DEPLOY_BLOCK(const CommonCmdPacket* packet)

ack = PL_deploy_block_cmd(&(PH_tl_cmd_list[id]), block_no, TMGR_get_master_total_cycle());

if (ack != PL_SUCCESS)
if (ack == PL_BC_LIST_CLEARED)
{
EL_record_event((EL_GROUP)EL_CORE_GROUP_TLCD_DEPLOY_BLOCK,
(uint32_t)PL_BC_LIST_CLEARED,
EL_ERROR_LEVEL_HIGH,
(uint32_t)( ((0x000000ff & id) << 24) | (0x00ffffff & block_no) ));
return CCP_make_cmd_ret(CCP_EXEC_ILLEGAL_CONTEXT, (uint32_t)ack);
}
else if (ack != PL_SUCCESS)
{
EL_record_event((EL_GROUP)EL_CORE_GROUP_TLCD_DEPLOY_BLOCK,
(uint32_t)ack,
Expand Down

0 comments on commit a51601b

Please sign in to comment.