From a489fc365df4d1b4f407438c2efcee428e073e49 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 2 Sep 2017 15:04:18 +0000 Subject: Fixed a lame error.... git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10542 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/hal_pal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/src') diff --git a/os/hal/src/hal_pal.c b/os/hal/src/hal_pal.c index 850c3506b..12b06abd0 100644 --- a/os/hal/src/hal_pal.c +++ b/os/hal/src/hal_pal.c @@ -117,7 +117,7 @@ void palSetBusMode(IOBus *bus, iomode_t mode) { palSetGroupMode(bus->portid, bus->mask, bus->offset, mode); } -#if defined(PAL_USE_WAIT) || defined(__DOXYGEN__) +#if PAL_USE_WAIT || defined(__DOXYGEN__) /** * @brief Waits for an edge on the specified port/pad. * @@ -155,7 +155,7 @@ msg_t palWaitLineTimeoutS(ioline_t line, systime_t timeout) { palevent_t *pep = pal_lld_get_line_event(line); return osalThreadEnqueueTimeoutS(&pep->threads, timeout); } -#endif /* defined(PAL_USE_WAIT) */ +#endif /* PAL_USE_WAIT */ #endif /* HAL_USE_PAL == TRUE */ -- cgit v1.2.3