Removed a cast, fixed a compile problem.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13977 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
9fa898af88
commit
83b626bcb8
|
@ -64,9 +64,9 @@
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#if CH_CFG_USE_MESSAGES_PRIORITY == TRUE
|
#if CH_CFG_USE_MESSAGES_PRIORITY == TRUE
|
||||||
#define msg_insert(tp, qp) queue_prio_insert(tp, qp)
|
#define msg_insert(tp, qp) ch_sch_prio_insert(&tp->hdr.queue, qp)
|
||||||
#else
|
#else
|
||||||
#define msg_insert(tp, qp) ch_queue_insert((ch_queue_t *)tp, qp)
|
#define msg_insert(tp, qp) ch_queue_insert(&tp->hdr.queue, qp)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -76,9 +76,9 @@
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#if CH_CFG_USE_SEMAPHORES_PRIORITY == TRUE
|
#if CH_CFG_USE_SEMAPHORES_PRIORITY == TRUE
|
||||||
#define sem_insert(tp, qp) queue_prio_insert(tp, qp)
|
#define sem_insert(tp, qp) ch_sch_prio_insert(&tp->hdr.pqueue, qp)
|
||||||
#else
|
#else
|
||||||
#define sem_insert(tp, qp) ch_queue_insert((ch_queue_t *)tp, qp)
|
#define sem_insert(tp, qp) ch_queue_insert(&tp->hdr.queue, qp)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Loading…
Reference in New Issue