From 9e120509c1647811681472008ed7668ef17283ce Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 13 Oct 2012 11:05:55 +0000 Subject: [PATCH] Fixed bug 3576776. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4759 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/src/chregistry.c | 4 ++++ readme.txt | 1 + 2 files changed, 5 insertions(+) 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 }; /** diff --git a/readme.txt b/readme.txt index 307d9d800..cea1f5e48 100644 --- a/readme.txt +++ b/readme.txt @@ -83,6 +83,7 @@ ***************************************************************************** *** 2.5.1 *** +- FIX: Fixed compilation issue in chregistry.c (bug 3576776). - FIX: Fixed compilation issue in syscalls.c (bug 3576771)(backported to 2.4.3). - FIX: Fixed Typos in STM32F0xx EXT driver (bug 3576193).