Skip to content

Commit

Permalink
chore: update conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
flap1 committed May 9, 2024
1 parent 13b0789 commit ad4549f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TlmCmd/telemetry_generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ CCP_CmdRet Cmd_GENERATE_TLM(const CommonCmdPacket* packet)
TSP_set_dest_flags(&TG_ctp_, dest_flags);
TSP_set_dest_info(&TG_ctp_, dr_partition); // FIXME: もはや dr partition ですらない
TSP_set_tlm_id(&TG_ctp_, id);
TSP_set_2nd_hdr_ver(&TG_ctp_, record_ti->startup_counter);
TSP_set_2nd_hdr_ver(&TG_ctp_, (uint8_t)(record_ti->startup_counter));

// 生成したパケットを指定された回数配送処理へ渡す
while (num_dumps != 0)
Expand Down Expand Up @@ -250,7 +250,7 @@ static CCP_CmdRet TG_generate_tlm_(TLM_CODE tlm_id,
TSP_setup_primary_hdr(&TG_ctp_, CTP_APID_FROM_ME, TG_get_next_seq_count_(), packet_len);

// Secondary Header
TSP_set_2nd_hdr_ver(&TG_ctp_, record_ti->startup_counter);
TSP_set_2nd_hdr_ver(&TG_ctp_, (uint8_t)(record_ti->startup_counter));
TSP_set_board_time(&TG_ctp_, (uint32_t)(TMGR_get_master_total_cycle()));
TSP_set_tlm_id(&TG_ctp_, tlm_id);
// FIXME: 他の時刻も入れる
Expand Down

0 comments on commit ad4549f

Please sign in to comment.