Browse Source

[stm32] add missing void

Meco Man 3 năm trước cách đây
mục cha
commit
4537d06afb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      bsp/stm32/libraries/HAL_Drivers/drv_common.c

+ 1 - 1
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---------------------------------------------------------*/