diff options
Diffstat (limited to 'os/rt/src/chstats.c')
-rw-r--r-- | os/rt/src/chstats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/src/chstats.c b/os/rt/src/chstats.c index 82d2a67a1..f4a82086b 100644 --- a/os/rt/src/chstats.c +++ b/os/rt/src/chstats.c @@ -86,7 +86,7 @@ void _stats_increase_irq(void) { void _stats_ctxswc(thread_t *ntp, thread_t *otp) {
ch.kernel_stats.n_ctxswc++;
- chTMChainMeasurementToX(&otp->p_stats, &ntp->p_stats);
+ chTMChainMeasurementToX(&otp->stats, &ntp->stats);
}
/**
|