aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/pal_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/pal_lld.h')
-rw-r--r--os/hal/templates/pal_lld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/templates/pal_lld.h b/os/hal/templates/pal_lld.h
index 5b39648c2..59e5c0f2a 100644
--- a/os/hal/templates/pal_lld.h
+++ b/os/hal/templates/pal_lld.h
@@ -42,13 +42,13 @@
/**
* @brief Width, in bits, of an I/O port.
*/
-#define PAL_IOPORTS_WIDTH 16
+#define PAL_IOPORTS_WIDTH 16U
/**
* @brief Whole port mask.
* @details This macro specifies all the valid bits into a port.
*/
-#define PAL_WHOLE_PORT ((ioportmask_t)0xFFFF)
+#define PAL_WHOLE_PORT ((ioportmask_t)0xFFFFU)
/** @} */
/**