Fixed bug 3184139.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.2.x@2745 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
c33b36c8ff
commit
5e7184bcdd
|
@ -77,7 +77,7 @@ typedef struct {
|
||||||
* @param[in] taken the semaphore initial state
|
* @param[in] taken the semaphore initial state
|
||||||
*/
|
*/
|
||||||
#define _BSEMAPHORE_DATA(name, taken) \
|
#define _BSEMAPHORE_DATA(name, taken) \
|
||||||
{_SEMAPHORE_DATA(name.bs_sem), ((taken) ? 0 : 1)}
|
{_SEMAPHORE_DATA(name.bs_sem, ((taken) ? 0 : 1))}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Static semaphore initializer.
|
* @brief Static semaphore initializer.
|
||||||
|
|
|
@ -70,6 +70,7 @@
|
||||||
|
|
||||||
*** 2.2.1 ***
|
*** 2.2.1 ***
|
||||||
- FIX: Fixed missing e200z test report (bug 3182611).
|
- FIX: Fixed missing e200z test report (bug 3182611).
|
||||||
|
- FIX: Fixed error in _BSEMAPHORE_DATA macro (bug 3184139).
|
||||||
- FIX: Error in MAC driver (bug 3179783).
|
- FIX: Error in MAC driver (bug 3179783).
|
||||||
- FIX: Fixed wrong serial driver macros (bug 3173336).
|
- FIX: Fixed wrong serial driver macros (bug 3173336).
|
||||||
|
|
||||||
|
|
|
@ -257,7 +257,7 @@ static msg_t thread4(void *p) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sem4_execute(void) {
|
static void sem4_execute(void) {
|
||||||
BinarySemaphore bsem;
|
BSEMAPHORE_DECL(bsem, TRUE);
|
||||||
|
|
||||||
/* Creates a taken binary semaphore.*/
|
/* Creates a taken binary semaphore.*/
|
||||||
chBSemInit(&bsem, TRUE);
|
chBSemInit(&bsem, TRUE);
|
||||||
|
|
Loading…
Reference in New Issue