Skip to content

Commit

Permalink
Merge pull request #31 from ut-issl/feature/fix_for_eb90_frame
Browse files Browse the repository at this point in the history
EB90 frame の整備に合わせた修正
  • Loading branch information
meltingrabbit authored Aug 23, 2022
2 parents ff79283 + 5f19705 commit 0d9176c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion my_mod/tlm_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def GenerateTlmBuffer(settings, other_obc_dbs):
body_c += " {_obc_name_upper}_TLM_CODE tlm_id;\n"
body_c += " DS_ERR_CODE ret;\n"
body_c += "\n"
body_c += " ret = DS_C2AFMT_get_ctp(p_stream_config, &{_obc_name_upper}_ctp_);\n"
body_c += " ret = CTP_get_ctp_from_dssc(p_stream_config, &{_obc_name_upper}_ctp_);\n"
body_c += " if (ret != DS_ERR_CODE_OK) return ret;\n"
body_c += "\n"
body_c += " tlm_id = ({_obc_name_upper}_TLM_CODE)CTP_get_id(&{_obc_name_upper}_ctp_);\n"
Expand Down Expand Up @@ -368,6 +368,7 @@ def OutputTlmBufferC_(file_path, name, body, settings):
* @brief テレメトリバッファー(テレメ中継)
* @note このコードは自動生成されています!
*/
#include <src_core/Drivers/Protocol/common_tlm_cmd_packet_for_driver_super.h>
#include "./{_obc_name_lower}_telemetry_definitions.h"
#include "./{_obc_name_lower}_telemetry_buffer.h"
#include "./{_obc_name_lower}.h"
Expand Down

0 comments on commit 0d9176c

Please sign in to comment.