aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt')
-rw-r--r--os/rt/src/chsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/src/chsys.c b/os/rt/src/chsys.c
index 850b9b5a9..6864bda9c 100644
--- a/os/rt/src/chsys.c
+++ b/os/rt/src/chsys.c
@@ -143,7 +143,7 @@ void chSysInit(void) {
#if CH_DBG_STATISTICS == TRUE
/* Starting measurement for this thread.*/
- chTMStartMeasurementX(&currp->p_stats);
+ chTMStartMeasurementX(&currp->stats);
#endif
/* It is alive now.*/