aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-01-19 16:24:52 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-01-19 16:24:52 +0000
commitc16c4e516e52798a688af478eea474df093ed16b (patch)
tree202f6450f55be40fede79f714068fa8b448918be /os/hal/include
parent675ee683d06e63f41f03179cfb035ab43c059738 (diff)
downloadChibiOS-c16c4e516e52798a688af478eea474df093ed16b.tar.gz
ChibiOS-c16c4e516e52798a688af478eea474df093ed16b.tar.bz2
ChibiOS-c16c4e516e52798a688af478eea474df093ed16b.zip
Cleanup in PAL driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12559 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/hal_pal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index 251cf01ae..62a213142 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -147,6 +147,7 @@
*/
typedef void (*palcallback_t)(void *arg);
+#if (PAL_USE_WAIT == TRUE) || (PAL_USE_CALLBACKS == TRUE) || defined(__DOXYGEN__)
/**
* @brief Type of a PAL event record.
*/
@@ -168,6 +169,7 @@ typedef struct {
void *arg;
#endif
} palevent_t;
+#endif
#include "hal_pal_lld.h"