aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-11-11 17:38:40 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-11-11 17:38:40 +0200
commit6eb3026ffcb3f10c832ae80b92b0936a19954750 (patch)
treee68bfc5f7b6c740a2cd4101eee12d270bfa67474 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
parent9699b74d7cf87fef466cb6606fe9e110e3b15120 (diff)
parent5bf1ead05c6bfd5d0dde843841dc11346dc54d11 (diff)
downloadTango-6eb3026ffcb3f10c832ae80b92b0936a19954750.tar.gz
Tango-6eb3026ffcb3f10c832ae80b92b0936a19954750.zip
merge
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
index d8dbbaaa0..ac6dd1969 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -5,6 +5,7 @@
* operating the dispensers according to predefined dispensing rate from the UI
**************************************************************************************************************************/
#include "include.h"
+#include <DataDef.h>
#include "thread.h"
#include "thread_ex.h"
#include "../control/control.h"
@@ -475,7 +476,7 @@ uint32_t ThreadControlCBFunction(uint32_t IfIndex, uint32_t ReadValue)
readValue[controlIndex] = ReadValue;
AveragereadValue[controlIndex] = avreageSampleValue;
calculatedspeed[controlIndex] = calculated_speed;
- timestamp[controlIndex] = msec_millisecondCounter;
+ timestamp[controlIndex] = HibernateRTCSSGet();
if (controlIndex++>=MAX_THREAD_CONTROL_LOG)
controlIndex = 0;
}