From 3a90ab685aaae59f242ae31260e67e9125ae78cd Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 1 Oct 2007 17:42:47 +0000 Subject: Preparation for AVR core support. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@27 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chqueues.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chqueues.c') diff --git a/src/chqueues.c b/src/chqueues.c index 2cccc3120..225492e60 100644 --- a/src/chqueues.c +++ b/src/chqueues.c @@ -212,7 +212,7 @@ void chOQReset(Queue *qp) { chSysLock(); qp->q_rdptr = qp->q_wrptr = qp->q_buffer; - chSemResetI(&qp->q_sem, (t_semcnt)(qp->q_top - qp->q_buffer)); + chSemResetI(&qp->q_sem, (t_cnt)(qp->q_top - qp->q_buffer)); chSysUnlock(); } -- cgit v1.2.3