aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/hal_pal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/include/hal_pal.h b/os/hal/include/hal_pal.h
index fdf4e2586..ba2a6ea43 100644
--- a/os/hal/include/hal_pal.h
+++ b/os/hal/include/hal_pal.h
@@ -360,13 +360,13 @@ typedef struct {
* @note This function is implicitly invoked by @p halInit(), there is
* no need to explicitly initialize the driver.
*
- * @param[in] config pointer to an architecture specific configuration
- * structure. This structure is defined in the low level driver
- * header.
- *
* @init
*/
+#if defined(PAL_NEW_INIT) || defined(__DOXYGEN__)
+#define palInit() pal_lld_init()
+#else
#define palInit(config) pal_lld_init(config)
+#endif
/**
* @brief Reads the physical I/O port states.