diff options
-rw-r--r-- | os/kernel/src/chregistry.c | 4 | ||||
-rw-r--r-- | readme.txt | 1 |
2 files changed, 5 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
};
/**
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).
|