Skip to content

Commit

Permalink
fix small
Browse files Browse the repository at this point in the history
  • Loading branch information
meltingrabbit committed Nov 8, 2023
1 parent 3bf5f1e commit 2139a37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
typedef struct
{
TcpToMPdu tc_packet_to_m_pdu; //!< PL から取り出した tc_packet を M_PDU に変換する
AosTransferFrame aostf; //!< 送信するAOSTF
uint32_t aostf_counter; //!< AOSTF counter
AosTransferFrame aostf; //!< 送信するAOSTF
uint32_t aostf_counter; //!< AOSTF counter
} CSRV_GS_TlmPacketHandler;

extern const GS_Driver* const gs_driver;
Expand Down
4 changes: 2 additions & 2 deletions examples/mobc/src/src_user/tlm_cmd/ccsds/m_pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void M_PDU_generate_byte_stream(const M_PDU* m_pdu,

void M_PDU_setup_idle_m_pdu(M_PDU* m_pdu)
{
static uint8_t temp_fill_aostf_data[432] = {
static uint8_t temp_fill_aostf_data_[432] = {
0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88,
0x88, 0x88, 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Expand Down Expand Up @@ -47,7 +47,7 @@ void M_PDU_setup_idle_m_pdu(M_PDU* m_pdu)

M_PDU_clear_spare_(m_pdu);
M_PDU_set_1st_hdr_ptr(m_pdu, M_PDU_PTR_IDLE);
memcpy(&m_pdu->data[0], &temp_fill_aostf_data[0], 432);
memcpy(&m_pdu->data[0], &temp_fill_aostf_data_[0], 432);
}

static void M_PDU_clear_spare_(M_PDU* m_pdu)
Expand Down

0 comments on commit 2139a37

Please sign in to comment.