From 094870d164689ed8fd5d9975f6bc976af92a3aa5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 23 Dec 2012 10:14:46 +0000 Subject: [PATCH] Fixed a missing field. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@4955 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/src/chregistry.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/os/kernel/src/chregistry.c b/os/kernel/src/chregistry.c index 30c96eb88..4bfa6942d 100644 --- a/os/kernel/src/chregistry.c +++ b/os/kernel/src/chregistry.c @@ -90,11 +90,7 @@ ROMCONST chdebug_t ch_debug = { #else (uint8_t)0, #endif -#if CH_TIME_QUANTUM > 0 - (uint8_t)_offsetof(Thread, p_preempt), -#else - (uint8_t)0, -#endif + (uint8_t)0, /* Not used in 2.4.x.*/ #if CH_DBG_THREADS_PROFILING (uint8_t)_offsetof(Thread, p_time) #else