diff options
Diffstat (limited to 'src/include/threads.h')
-rw-r--r-- | src/include/threads.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/threads.h b/src/include/threads.h index f170ce368..d8937433f 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -80,7 +80,7 @@ struct Thread { #endif
};
/** Machine dependent processor context.*/
- Context p_ctx;
+ Context p_ctx;
/*
* Start of the optional fields. Note, the null thread may also let its
* stack overwrite the following fields since it never uses semaphores,
@@ -104,8 +104,9 @@ struct Thread { #endif
#ifdef CH_USE_RT_SEMAPHORES
/** Priority backup after acquiring a RT semaphore.*/
+ t_prio p_bakprio;
/** RT semaphores depth counter.*/
- int p_rtcnt;
+ WORD16 p_rtcnt;
#endif
};
|