aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-11-27 13:26:50 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-11-27 13:26:50 +0200
commit250c81503a8a3eb804fab1a604fdac708b0b2ab8 (patch)
treeca663654c091effee3515662db08211a43467408 /Software/Embedded_SW/Embedded/Modules/Thread
parent88aef28cf492710f288c2abe2ddc147a7997ab5f (diff)
downloadTango-250c81503a8a3eb804fab1a604fdac708b0b2ab8.tar.gz
Tango-250c81503a8a3eb804fab1a604fdac708b0b2ab8.zip
bugs and logs
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c b/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
index c3f15aff8..5a764cfc4 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
@@ -1132,9 +1132,13 @@ uint32_t ThreadLoadButton(THREAD_LOAD_STAGES_ENUM ReadValue)
SecondTry = false;
Report("Calling State machine 2nd try",__FILE__,LoadStages,LoadStatus,RpMessage,SecondTry,0);
load.color = BLINK;
- //if (LoadStages > THREAD_LOAD_INITIAL_TENSION)
- // ThreadLoadingRestartReport();
- ThreadLoadStateMachine(LoadStages+1);
+ if ((LoadStages == THREAD_LOAD_LIFT_DANCERS)
+ {
+ LoadStages++;
+ LoadStatus = OK;
+ }
+ else
+ ThreadLoadStateMachine(LoadStages+1);
}
else //((SecondTry == false)&&(TryAgain == false))???????
{