Skip to content

Commit

Permalink
Merge pull request #245 from ut-issl/hotfix/build-ci-exit
Browse files Browse the repository at this point in the history
Fix Build CI exit value
  • Loading branch information
sksat authored Feb 8, 2022
2 parents 9d4717b + 4718517 commit bfced57
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_as_c89.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,8 @@ jobs:
-efm="%E%f:%l:%c: error: %m" \
-efm="%C%m" \
< clang_tidy.log
- name: build failed
if: steps.build.outcome == 'failure'
shell: bash
run: exit 1
4 changes: 4 additions & 0 deletions Applications/memory_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
static MemoryDump memory_dump_;
const MemoryDump* const memory_dump = &memory_dump_;

// FIXME: CTCP 大改修が終わったら直す
// https://github.com/ut-issl/c2a-core/pull/217
#if 0
static CommonTlmPacket MEM_ctp_; // データサイズが大きいのでstatic確保
#endif

static void MEM_init_(void);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
typedef enum
{
AOBC_TX_ERR_CODE_OK = 0,
AOBC_TX_ERR_CODE_CMD_NOT_FOUND,
AOBC_TX_ERR_CODE_CMD_NOT_FOUND
} AOBC_TX_ERR_CODE;

/**
Expand All @@ -33,7 +33,7 @@ typedef enum
{
AOBC_RX_ERR_CODE_OK = 0,
AOBC_RX_ERR_CODE_TLM_NOT_FOUND,
AOBC_RX_ERR_CODE_CRC_ERR,
AOBC_RX_ERR_CODE_CRC_ERR
} AOBC_RX_ERR_CODE;

/**
Expand Down
2 changes: 1 addition & 1 deletion TlmCmd/Ccsds/cmd_space_packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
typedef enum
{
CSP_2ND_HDR_VER_UNKNOWN = 0, //!< バージョン不定
CSP_2ND_HDR_VER_1 = 1, //!< Version-1
CSP_2ND_HDR_VER_1 = 1 //!< Version-1
} CSP_2ND_HDR_VER;


Expand Down
2 changes: 1 addition & 1 deletion TlmCmd/Ccsds/tlm_space_packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
typedef enum
{
TSP_2ND_HDR_VER_UNKNOWN = 0, //!< バージョン不定
TSP_2ND_HDR_VER_1 = 1, //!< Version-1
TSP_2ND_HDR_VER_1 = 1 //!< Version-1
} TSP_2ND_HDR_VER;


Expand Down
2 changes: 1 addition & 1 deletion TlmCmd/packet_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ typedef enum
PL_PACKET_TYPE_CTCP, //!< CommonTlmCmdPacket
PL_PACKET_TYPE_CTP, //!< CommonTlmPacket
PL_PACKET_TYPE_CCP, //!< CommonCmdPacket
PL_PACKET_TYPE_OTHER, //!< その他のパケット
PL_PACKET_TYPE_OTHER //!< その他のパケット
} PL_PACKET_TYPE;

/**
Expand Down

0 comments on commit bfced57

Please sign in to comment.