aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h b/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
index ae877c5a4..df871956a 100644
--- a/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
+++ b/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
@@ -44,7 +44,7 @@
* @name SAMA-specific I/O mode flags
* @{
*/
-#define PAL_SAMA_FUNC_MASK (3U << 0U)
+#define PAL_SAMA_FUNC_MASK (7U << 0U)
#define PAL_SAMA_FUNC_GPIO (0U << 0U)
#define PAL_SAMA_FUNC_PERIPH_A (1U << 0U)
#define PAL_SAMA_FUNC_PERIPH_B (2U << 0U)