From 3253fc67035a31b1f08d51b46ca54a26fe499a9b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 1 Dec 2017 10:43:30 +0000 Subject: Provision for new PAL initialization function. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11096 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/hal_pal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/hal/include') 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. -- cgit v1.2.3