From 6d3145c04b2f6be505c44589fdb8ecbe952b4b85 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 9 May 2009 19:36:30 +0000 Subject: Fixed more troubles with test_cpu_pulse(). git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@964 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/threads.h b/src/include/threads.h index e7c56d3c7..8e3f7a782 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -51,7 +51,7 @@ struct Thread { cnt_t p_locks; /**< Number of nested locks.*/ #endif #if CH_DBG_THREADS_PROFILING - systime_t p_time; /**< Consumed time. + volatile systime_t p_time; /**< Consumed time. @note This field can overflow.*/ #endif /* -- cgit v1.2.3