aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2020-09-24 21:41:19 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2020-09-24 21:41:19 +0300
commite800a2be260470bc2756724e76097aba3a2527b4 (patch)
tree6ee0dd6d8533c8079876e7cca8b0ff68ec2991c1 /Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
parent3686a3df25a74a1e8fb12b5cff0aee5fef915fad (diff)
parentfddc07eece13c6676078e17b7e925ef70c6e70cb (diff)
downloadTango-e800a2be260470bc2756724e76097aba3a2527b4.tar.gz
Tango-e800a2be260470bc2756724e76097aba3a2527b4.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c b/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
index 554e4d1ef..d5c186893 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
@@ -1407,6 +1407,8 @@ uint32_t ThreadLoadingReport(void)
if (ThreadLoadingToken[0] == 0)
return OK;
+ if (LoadStages == THREAD_LOAD_INIT)
+ return OK;
if (MessageState == 0)
{
@@ -1485,7 +1487,7 @@ uint32_t ThreadLoadingRestartReport(void) //sending after a failure in the final
response.has_state = true;
response.state = THREAD_LOADING_STATE__ReadyForLoading;
response.errorreason = DefaultErrSrt;
- Report("ThreadLoadingReport",__FILE__,MessageState,response.state,RpWarning,(int)LoadStages,0);
+ Report("ThreadLoadingRestartReport",__FILE__,MessageState,response.state,RpWarning,(int)LoadStages,0);
//-------------------------------------------------------------------------------------------
responseContainer = createContainer(MESSAGE_TYPE__StartThreadLoadingResponse, ThreadLoadingToken, false, &response, &start_thread_loading_response__pack, &start_thread_loading_response__get_packed_size);
responseContainer.has_continuous = true;