From a47f5705d3f6abf4abaffa949f7bb50132507d94 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 15 Oct 2017 06:51:20 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rt5_dev_point1@10822 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/hal_pal.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'os/hal/src/hal_pal.c') diff --git a/os/hal/src/hal_pal.c b/os/hal/src/hal_pal.c index b46c9e7ea..3a83005ec 100644 --- a/os/hal/src/hal_pal.c +++ b/os/hal/src/hal_pal.c @@ -167,7 +167,9 @@ void palSetLineCallbackI(ioline_t line, palcallback_t cb, void *arg) { * * @sclass */ -msg_t palWaitPadTimeoutS(ioportid_t port, iopadid_t pad, systime_t timeout) { +msg_t palWaitPadTimeoutS(ioportid_t port, + iopadid_t pad, + sysinterval_t timeout) { palevent_t *pep = pal_lld_get_pad_event(port, pad); return osalThreadEnqueueTimeoutS(&pep->threads, timeout); @@ -186,7 +188,8 @@ msg_t palWaitPadTimeoutS(ioportid_t port, iopadid_t pad, systime_t timeout) { * * @sclass */ -msg_t palWaitLineTimeoutS(ioline_t line, systime_t timeout) { +msg_t palWaitLineTimeoutS(ioline_t line, + sysinterval_t timeout) { palevent_t *pep = pal_lld_get_line_event(line); return osalThreadEnqueueTimeoutS(&pep->threads, timeout); -- cgit v1.2.3