Skip to content

Commit

Permalink
[#314] Update Define to more descriptive name
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbrown6 committed Sep 20, 2024
1 parent efda557 commit 5ac6884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/crypto_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
#define TC_SN_SIZE 2
#define TC_SN_WINDOW 10 /* +/- value */
#define TC_FRAME_DATA_SIZE 1019 /* bytes */ // 1024 - 5byte header
#define TC_CADU_BYTES 4
#define TC_CADU_ASM_SIZE 4

// CCSDS PUS Defines
#define TLV_DATA_SIZE 494 /* bytes */
Expand All @@ -182,7 +182,7 @@
#define TM_CADU_HAS_ASM 1 // Skip 0x1acffc1d at beginning of each frame
// TM CADU based on ASM, currently only holds non-turbo ASM
#ifdef TM_CADU_HAS_ASM
#define TM_CADU_SIZE (TM_FRAME_DATA_SIZE + TC_CADU_BYTES)
#define TM_CADU_SIZE (TM_FRAME_DATA_SIZE + TC_CADU_ASM_SIZE)
#else
#define TM_CADU_SIZE TM_FRAME_DATA_SIZE
#endif
Expand Down

0 comments on commit 5ac6884

Please sign in to comment.