File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 57
57
//--------------------------------------------------------------------+
58
58
static inline void board_stm32h7_clock_init (void )
59
59
{
60
- RCC_ClkInitTypeDef RCC_ClkInitStruct ;
61
- RCC_OscInitTypeDef RCC_OscInitStruct ;
62
- RCC_PeriphCLKInitTypeDef PeriphClkInitStruct ;
60
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 } ;
61
+ RCC_OscInitTypeDef RCC_OscInitStruct = { 0 } ;
62
+ RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = { 0 } ;
63
63
64
64
/*!< Supply configuration update enable */
65
65
/* For STM32H750XB, use "HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);" */
Original file line number Diff line number Diff line change 64
64
//--------------------------------------------------------------------+
65
65
static inline void board_stm32h7_clock_init (void )
66
66
{
67
- RCC_ClkInitTypeDef RCC_ClkInitStruct ;
68
- RCC_OscInitTypeDef RCC_OscInitStruct ;
67
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 } ;
68
+ RCC_OscInitTypeDef RCC_OscInitStruct = { 0 } ;
69
69
70
70
/* The PWR block is always enabled on the H7 series- there is no clock
71
71
enable. For now, use the default VOS3 scale mode (lowest) and limit clock
Original file line number Diff line number Diff line change 63
63
//--------------------------------------------------------------------+
64
64
static inline void board_stm32h7_clock_init (void )
65
65
{
66
- RCC_ClkInitTypeDef RCC_ClkInitStruct ;
67
- RCC_OscInitTypeDef RCC_OscInitStruct ;
68
- RCC_PeriphCLKInitTypeDef PeriphClkInitStruct ;
66
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 } ;
67
+ RCC_OscInitTypeDef RCC_OscInitStruct = { 0 } ;
68
+ RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = { 0 } ;
69
69
70
70
/*!< Supply configuration update enable */
71
71
HAL_PWREx_ConfigSupply (PWR_LDO_SUPPLY );
Original file line number Diff line number Diff line change 55
55
//--------------------------------------------------------------------+
56
56
static inline void board_stm32h7_clock_init (void )
57
57
{
58
- RCC_ClkInitTypeDef RCC_ClkInitStruct ;
59
- RCC_OscInitTypeDef RCC_OscInitStruct ;
58
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 } ;
59
+ RCC_OscInitTypeDef RCC_OscInitStruct = { 0 } ;
60
60
61
61
/* The PWR block is always enabled on the H7 series- there is no clock
62
62
enable. For now, use the default VOS3 scale mode (lowest) and limit clock
Original file line number Diff line number Diff line change 57
57
//--------------------------------------------------------------------+
58
58
static inline void board_stm32h7_clock_init (void )
59
59
{
60
- RCC_ClkInitTypeDef RCC_ClkInitStruct ;
61
- RCC_OscInitTypeDef RCC_OscInitStruct ;
62
- RCC_PeriphCLKInitTypeDef PeriphClkInitStruct ;
60
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 } ;
61
+ RCC_OscInitTypeDef RCC_OscInitStruct = { 0 } ;
62
+ RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = { 0 } ;
63
63
64
64
/*!< Supply configuration update enable */
65
65
/* For STM32H750XB, use "HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);" */
You can’t perform that action at this time.
0 commit comments