diff options
Diffstat (limited to 'software/mpu/board-F405/board.c')
-rw-r--r-- | software/mpu/board-F405/board.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/software/mpu/board-F405/board.c b/software/mpu/board-F405/board.c index a0ca77f..e66dd1c 100644 --- a/software/mpu/board-F405/board.c +++ b/software/mpu/board-F405/board.c @@ -17,12 +17,12 @@ #include "ch.h" #include "hal.h" -#if HAL_USE_PAL || defined(__DOXYGEN__) /** * @brief PAL setup. * @details Digital I/O ports static configuration as defined in @p board.h. * This variable is used by the HAL when initializing the PAL driver. */ +#if HAL_USE_PAL || defined(__DOXYGEN__) const PALConfig pal_default_config = { {VAL_GPIOA_MODER, VAL_GPIOA_OTYPER, VAL_GPIOA_OSPEEDR, VAL_GPIOA_PUPDR, @@ -46,19 +46,18 @@ const PALConfig pal_default_config = }; #endif -/** - * @brief Early initialization code. - * @details This initialization must be performed just after stack setup - * and before any other initialization. +/* + * Early initialization code. + * This initialization must be performed just after stack setup and before + * any other initialization. */ void __early_init(void) { stm32_clock_init(); } -/** - * @brief Board-specific initialization code. - * @todo Add your board-specific code, if any. +/* + * Board-specific initialization code. */ void boardInit(void) { } |