diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-05-12 18:24:22 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-05-12 18:24:22 +0300 |
| commit | ce0fe045c8dc0f005c4e70da5e71729d0c986165 (patch) | |
| tree | 4b16aa41b0ad3d555780b6d4b3283b46c7ac9276 /Software/Embedded_SW/Embedded/Common | |
| parent | 524bc43f07339979eda1c812354a9a2e8e0f7e09 (diff) | |
| download | Tango-ce0fe045c8dc0f005c4e70da5e71729d0c986165.tar.gz Tango-ce0fe045c8dc0f005c4e70da5e71729d0c986165.zip | |
fix double report issue. improve IDS pressure build
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c | 2 | ||||
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/report/distributor.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c b/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c index 81a34b7ac..84791face 100644 --- a/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c +++ b/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c @@ -20,7 +20,7 @@ typedef struct } TangoVersion_t; -TangoVersion_t _gTangoVersion = {1,3,9,10}; +TangoVersion_t _gTangoVersion = {1,3,9,11}; #define BUILD_DATE __DATE__ char Dat[50] = BUILD_DATE; char _gTangoName [MAX_STRING_LEN] = "Tango01 ";//d diff --git a/Software/Embedded_SW/Embedded/Common/report/distributor.c b/Software/Embedded_SW/Embedded/Common/report/distributor.c index f011653ec..e4ab5fa36 100644 --- a/Software/Embedded_SW/Embedded/Common/report/distributor.c +++ b/Software/Embedded_SW/Embedded/Common/report/distributor.c @@ -618,6 +618,11 @@ STATUS ReportFunc(ReportFunction func, uint32_t SwitchAddRemove, DistributorHand } if (SwitchAddRemove == REPORT_ADD) { + if ((func == ReportFunc1)||(func == ReportFunc2)) + { + REPORT_MSG (REPORT_ADD,"Report function already exist"); + return OK; + } if (ReportFunc1 == NULL) { ReportFunc1 = func; |
