diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-10-03 17:14:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-10-03 17:14:03 +0000 |
commit | 2310f80695b4051cb63ca14878dfc5e76acb94e6 (patch) | |
tree | 70643e03f918333f051734336f97011644da076a /src/include | |
parent | 1b269aa139ba66288cc2c3f1b463c73821343262 (diff) | |
download | ChibiOS-2310f80695b4051cb63ca14878dfc5e76acb94e6.tar.gz ChibiOS-2310f80695b4051cb63ca14878dfc5e76acb94e6.tar.bz2 ChibiOS-2310f80695b4051cb63ca14878dfc5e76acb94e6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@30 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/delta.h | 3 | ||||
-rw-r--r-- | src/include/semaphores.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/include/delta.h b/src/include/delta.h index 14f5b550e..7639301e1 100644 --- a/src/include/delta.h +++ b/src/include/delta.h @@ -77,8 +77,7 @@ extern DeltaList dlist; while (!(vtp = dlist.dl_next)->vt_dtime) { \
t_vtfunc fn = vtp->vt_func; \
vtp->vt_func = 0; \
- vtp->vt_prev->vt_next = vtp->vt_next; \
- vtp->vt_next->vt_prev = vtp->vt_prev; \
+ (vtp->vt_next->vt_prev = (VirtualTimer *)&dlist)->vt_next = vtp->vt_next; \
fn(vtp->vt_par); \
} \
}
diff --git a/src/include/semaphores.h b/src/include/semaphores.h index 8179627f4..c1f3f9db6 100644 --- a/src/include/semaphores.h +++ b/src/include/semaphores.h @@ -46,7 +46,7 @@ t_msg chSemWaitTimeout(Semaphore *sp, t_time time); t_msg chSemWaitTimeoutS(Semaphore *sp, t_time time);
void chSemSignal(Semaphore *sp);
void chSemSignalI(Semaphore *sp);
-void chSignalWait(Semaphore *sps, Semaphore *spw);
+void chSemSignalWait(Semaphore *sps, Semaphore *spw);
#ifdef CH_USE_RT_SEMAPHORES
void chSemRaisePrioWait(Semaphore *sp);
|