aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC13xx/pal_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/LPC13xx/pal_lld.c')
-rw-r--r--os/hal/platforms/LPC13xx/pal_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/LPC13xx/pal_lld.c b/os/hal/platforms/LPC13xx/pal_lld.c
index 6a66f1ead..719329160 100644
--- a/os/hal/platforms/LPC13xx/pal_lld.c
+++ b/os/hal/platforms/LPC13xx/pal_lld.c
@@ -89,7 +89,7 @@ void _pal_lld_setgroupmode(ioportid_t port,
ioportmask_t mask,
uint_fast8_t mode) {
- switch (mode & PAL_MODE_MASK) {
+ switch (mode) {
case PAL_MODE_RESET:
case PAL_MODE_INPUT:
port->DIR &= ~mask;