Fixed bug #694.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8770 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
9bec8d3179
commit
b8dfd95a2e
|
@ -61,7 +61,7 @@ typedef struct nil_thread thread_t;
|
|||
/**
|
||||
* @brief Kernel version string.
|
||||
*/
|
||||
#define CH_KERNEL_VERSION "1.1.0"
|
||||
#define CH_KERNEL_VERSION "1.1.1"
|
||||
|
||||
/**
|
||||
* @brief Kernel version major number.
|
||||
|
@ -76,7 +76,7 @@ typedef struct nil_thread thread_t;
|
|||
/**
|
||||
* @brief Kernel version patch number.
|
||||
*/
|
||||
#define CH_KERNEL_PATCH 0
|
||||
#define CH_KERNEL_PATCH 1
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -988,10 +988,12 @@ extern "C" {
|
|||
void chSemSignalI(semaphore_t *sp);
|
||||
void chSemReset(semaphore_t *sp, cnt_t n);
|
||||
void chSemResetI(semaphore_t *sp, cnt_t n);
|
||||
#if NIL_CFG_USE_EVENTS == TRUE
|
||||
void chEvtSignal(thread_t *tp, eventmask_t mask);
|
||||
void chEvtSignalI(thread_t *tp, eventmask_t mask);
|
||||
eventmask_t chEvtWaitAnyTimeout(eventmask_t mask, systime_t timeout);
|
||||
eventmask_t chEvtWaitAnyTimeoutS(eventmask_t mask, systime_t timeout);
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -729,6 +729,7 @@ void chSemResetI(semaphore_t *sp, cnt_t n) {
|
|||
}
|
||||
}
|
||||
|
||||
#if (NIL_CFG_USE_EVENTS == TRUE) || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Adds a set of event flags directly to the specified @p thread_t.
|
||||
*
|
||||
|
@ -834,5 +835,6 @@ eventmask_t chEvtWaitAnyTimeoutS(eventmask_t mask, systime_t timeout) {
|
|||
|
||||
return m;
|
||||
}
|
||||
#endif /* NIL_CFG_USE_EVENTS == TRUE */
|
||||
|
||||
/** @} */
|
||||
|
|
|
@ -76,6 +76,8 @@
|
|||
- RT: Removed the p_msg field from the thread_t structure saving a
|
||||
msg_t-sized field from the structure. Messages now use a new field
|
||||
into the p_u union. Now synchronous messages are even faster.
|
||||
- NIL: NIL_CFG_USE_EVENTS not properly checked in NIL (bug #694)
|
||||
(backported to 3.0.5 and 16.1.1).
|
||||
- RT: Fixed ISR statistics are not updated from a critical zone in RT
|
||||
(bug #693)(backported to 3.0.5 and 16.1.1).
|
||||
- NIL: Fixed NIL test suite calls I and S functions outside critical zone
|
||||
|
|
Loading…
Reference in New Issue