aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-20 07:24:12 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-20 07:24:12 +0000
commit390ed322cb8f40cb9250021cde5f48acb928d291 (patch)
tree1dc550fc749284146c42417ff1d5d40ac1823d5f /os/hal
parent25ddb1c801f06a3be7171e20dcfd46d11a75f112 (diff)
downloadChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.tar.gz
ChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.tar.bz2
ChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6001 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/src/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/serial.c b/os/hal/src/serial.c
index fdb802ccc..ca09e9d64 100644
--- a/os/hal/src/serial.c
+++ b/os/hal/src/serial.c
@@ -133,7 +133,7 @@ void sdInit(void) {
void sdObjectInit(SerialDriver *sdp, qnotify_t inotify, qnotify_t onotify) {
sdp->vmt = &vmt;
- chEvtInit(&sdp->event);
+ chEvtObjectInit(&sdp->event);
sdp->state = SD_STOP;
chIQInit(&sdp->iqueue, sdp->ib, SERIAL_BUFFERS_SIZE, inotify, sdp);
chOQInit(&sdp->oqueue, sdp->ob, SERIAL_BUFFERS_SIZE, onotify, sdp);