File tree Expand file tree Collapse file tree 4 files changed +49
-21
lines changed Expand file tree Collapse file tree 4 files changed +49
-21
lines changed Original file line number Diff line number Diff line change 3131#include "sample_app_events.h"
3232#include "sample_app_version.h"
3333#include "sample_app.h"
34+ #include "sample_table.h"
3435
3536#include <string.h>
3637
Original file line number Diff line number Diff line change @@ -72,16 +72,6 @@ typedef struct
7272
7373} OS_PACK sample_hk_tlm_t ;
7474
75- /*
76- ** Table structure
77- */
78- typedef struct
79- {
80- uint16 Int1 ;
81- uint16 Int2 ;
82-
83- } SampleTable_t ;
84-
8575#endif /* _sample_app_msg_h_ */
8676
8777/************************/
Original file line number Diff line number Diff line change 2121*/
2222
2323#include "cfe_tbl_filedef.h" /* Required to obtain the CFE_TBL_FILEDEF macro definition */
24-
25- /*
26- ** The following is an example of a data structure the application may have declared
27- ** as the format of their table.
28- */
29- typedef struct
30- {
31- uint16 Int1 ;
32- uint16 Int2 ;
33-
34- } SampleTable_t ;
24+ #include "sample_table.h"
3525
3626/*
3727** The following is an example of the declaration statement that defines the desired
Original file line number Diff line number Diff line change 1+ /*******************************************************************************
2+ **
3+ ** GSC-18128-1, "Core Flight Executive Version 6.6"
4+ **
5+ ** Copyright (c) 2006-2019 United States Government as represented by
6+ ** the Administrator of the National Aeronautics and Space Administration.
7+ ** All Rights Reserved.
8+ **
9+ ** Licensed under the Apache License, Version 2.0 (the "License");
10+ ** you may not use this file except in compliance with the License.
11+ ** You may obtain a copy of the License at
12+ **
13+ ** http://www.apache.org/licenses/LICENSE-2.0
14+ **
15+ ** Unless required by applicable law or agreed to in writing, software
16+ ** distributed under the License is distributed on an "AS IS" BASIS,
17+ ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+ ** See the License for the specific language governing permissions and
19+ ** limitations under the License.
20+ **
21+ ** File: sample_table.h
22+ **
23+ ** Purpose:
24+ ** Define sample table
25+ **
26+ ** Notes:
27+ **
28+ **
29+ *******************************************************************************/
30+ #ifndef _sample_table_h_
31+ #define _sample_table_h_
32+
33+ /*
34+ ** Table structure
35+ */
36+ typedef struct
37+ {
38+ uint16 Int1 ;
39+ uint16 Int2 ;
40+
41+ } SampleTable_t ;
42+
43+ #endif /* _sample_table_h_ */
44+
45+ /************************/
46+ /* End of File Comment */
47+ /************************/
You can’t perform that action at this time.
0 commit comments