Skip to content

Commit

Permalink
[#316] Remove //Testing Code Comment - and specify what these are
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie-Ice committed Sep 19, 2024
1 parent 1058853 commit 3d1baa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions include/crypto_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@

// Max Frame Size
#define TC_MAX_FRAME_SIZE 1024
#define TM_MAX_FRAME_SIZE 1786
#define AOS_MAX_FRAME_SIZE 1786

// Spacecraft Defines
#define SCID 0x0003
Expand Down
4 changes: 2 additions & 2 deletions src/core/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ CFS_MODULE_DECLARE_LIB(crypto);
*/
CCSDS_t sdls_frame;
// TM_t tm_frame;
uint8_t tm_frame[1786]; // Testing
uint8_t tm_frame[TM_MAX_FRAME_SIZE]; // TM Global Frame
TM_FramePrimaryHeader_t tm_frame_pri_hdr; // Used to reduce bit math duplication
TM_FrameSecurityHeader_t tm_frame_sec_hdr; // Used to reduce bit math duplication
// AOS_t aos_frame
uint8_t aos_frame[1786]; // Testing
uint8_t aos_frame[AOS_MAX_FRAME_SIZE]; // AOS Global Frame
AOS_FramePrimaryHeader_t aos_frame_pri_hdr; // Used to reduce bit math duplication
AOS_FrameSecurityHeader_t aos_frame_sec_hdr; // Used to reduce bit math duplication
// OCF
Expand Down

0 comments on commit 3d1baa1

Please sign in to comment.