summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-08-14 21:29:51 -0400
committerMan, Jianting (Meco) <[email protected]>2022-08-14 21:49:43 -0400
commit4537d06afbf621dad32cc079f4b567c11963b785 (patch)
treecc2a295ebd814276fca57dbb48bc9820e4c33556
parentef659661d4af1175c2ac9608da21dadb4b76a7ee (diff)
[stm32] add missing void
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_common.c b/bsp/stm32/libraries/HAL_Drivers/drv_common.c
index 5ff50e5f40..07ac15297e 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_common.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_common.c
@@ -164,7 +164,7 @@ void rt_hw_us_delay(rt_uint32_t us)
/**
* This function will initial STM32 board.
*/
-RT_WEAK void rt_hw_board_init()
+RT_WEAK void rt_hw_board_init(void)
{
#ifdef BSP_SCB_ENABLE_I_CACHE
/* Enable I-Cache---------------------------------------------------------*/