Skip to content

Commit

Permalink
rename _from_cdssc func in code-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
sksat committed Oct 24, 2023
1 parent 7a4c0e1 commit 1b849df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code-generator/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 += " CDS_ERR_CODE ret;\n"
body_c += "\n"
body_c += " ret = CTP_get_ctp_from_cdssc(p_stream_config, &{_obc_name_upper}_ctp_);\n"
body_c += " ret = CDS_CTP_get_ctp(p_stream_config, &{_obc_name_upper}_ctp_);\n"
body_c += " if (ret != CDS_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

0 comments on commit 1b849df

Please sign in to comment.