aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-09-02 15:04:18 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-09-02 15:04:18 +0000
commita489fc365df4d1b4f407438c2efcee428e073e49 (patch)
tree826f14d8f9a7d0c096f05aded18ed0db2b2df11d /testhal
parent50b0a33947e6fe4fb36851e783227b3795e5d510 (diff)
downloadChibiOS-a489fc365df4d1b4f407438c2efcee428e073e49.tar.gz
ChibiOS-a489fc365df4d1b4f407438c2efcee428e073e49.tar.bz2
ChibiOS-a489fc365df4d1b4f407438c2efcee428e073e49.zip
Fixed a lame error....
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10542 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/multi/PAL/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testhal/STM32/multi/PAL/main.c b/testhal/STM32/multi/PAL/main.c
index 597e8274d..a5646c1b2 100644
--- a/testhal/STM32/multi/PAL/main.c
+++ b/testhal/STM32/multi/PAL/main.c
@@ -38,7 +38,7 @@ static THD_FUNCTION(Thread1, arg) {
}
#endif
-#if defined(PAL_USE_WAIT) || defined(__DOXYGEN__)
+#if PAL_USE_WAIT || defined(__DOXYGEN__)
/*
* Application entry point.
@@ -83,7 +83,7 @@ int main(void) {
}
}
-#else /* !defined(PAL_USE_WAIT) */
+#else /* !PAL_USE_WAIT */
static event_source_t button_pressed_event;
static event_source_t button_released_event;
@@ -150,5 +150,5 @@ int main(void) {
}
}
}
-#endif /* !defined(PAL_USE_WAIT) */
+#endif /* !PAL_USE_WAIT */