diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-13 11:05:55 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-13 11:05:55 +0000 |
commit | 9e120509c1647811681472008ed7668ef17283ce (patch) | |
tree | 6ae53116cdfda9a75f4721537446e640ca2e9a5c /os/kernel/src | |
parent | 5ababb428ed64df5b7831687a6ad7f9dec5655a6 (diff) | |
download | ChibiOS-9e120509c1647811681472008ed7668ef17283ce.tar.gz ChibiOS-9e120509c1647811681472008ed7668ef17283ce.tar.bz2 ChibiOS-9e120509c1647811681472008ed7668ef17283ce.zip |
Fixed bug 3576776.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4759 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src')
-rw-r--r-- | os/kernel/src/chregistry.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/kernel/src/chregistry.c b/os/kernel/src/chregistry.c index 8b9f40f85..5a28ac2fb 100644 --- a/os/kernel/src/chregistry.c +++ b/os/kernel/src/chregistry.c @@ -88,7 +88,11 @@ ROMCONST chdebug_t ch_debug = { #else
(uint8_t)0,
#endif
+#if CH_DBG_THREADS_PROFILING
(uint8_t)_offsetof(Thread, p_time)
+#else
+ (uint8_t)0
+#endif
};
/**
|