aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-09-09 09:31:26 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-09-09 09:31:26 +0000
commit5100d6afbf747042b938586f76dd998192a016e5 (patch)
tree380727bc9addb0cfa4f4fdb8e9f6c79ea421ec27 /os/hal
parent2053013a21d55cf0aa755ffc1bade5cf95ef2d1a (diff)
downloadChibiOS-5100d6afbf747042b938586f76dd998192a016e5.tar.gz
ChibiOS-5100d6afbf747042b938586f76dd998192a016e5.tar.bz2
ChibiOS-5100d6afbf747042b938586f76dd998192a016e5.zip
Fixed some typos and errors in the new hal_pal.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10566 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/include/hal_pal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index 3514b7ffe..276c8f524 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -807,7 +807,7 @@ typedef struct {
#if !defined(pal_lld_disablepadevent) || defined(__DOXYGEN__)
#define palDisablePadEventI(port, pad)
#else
-#define PadDisablepalEventI(port, pad) \
+#define palDisablePadEventI(port, pad) \
pal_lld_disablepadevent(port, pad)
#endif
@@ -840,7 +840,7 @@ typedef struct {
#define palDisablePadEvent(port, pad) \
do { \
osalSysLock(); \
- palisablePadDEventI(port, pad); \
+ palDisablePadDEventI(port, pad); \
osalSysUnlock(); \
} while (false)