Refs #1363. Corrected misplaced #endif in the Nucleo-F429ZI demo bootloader.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@908 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
Frank Voorburg 2021-11-05 10:56:56 +00:00
parent 3568e36d22
commit 3714c1ea3e
3 changed files with 3 additions and 3 deletions

View File

@ -290,6 +290,7 @@ void HAL_MspDeInit(void)
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_9);
/* UART clock disable. */
__HAL_RCC_USART3_CLK_DISABLE();
#endif
/* GPIO ports clock disable. */
__HAL_RCC_GPIOD_CLK_DISABLE();
@ -300,7 +301,6 @@ void HAL_MspDeInit(void)
/* SYSCFG and PWR clock disable. */
__HAL_RCC_PWR_CLK_DISABLE();
__HAL_RCC_SYSCFG_CLK_DISABLE();
#endif
} /*** end of HAL_MspDeInit ***/

View File

@ -287,6 +287,7 @@ void HAL_MspDeInit(void)
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_9);
/* UART clock disable. */
__HAL_RCC_USART3_CLK_DISABLE();
#endif
/* GPIO ports clock disable. */
__HAL_RCC_GPIOD_CLK_DISABLE();
@ -297,7 +298,6 @@ void HAL_MspDeInit(void)
/* SYSCFG and PWR clock disable. */
__HAL_RCC_PWR_CLK_DISABLE();
__HAL_RCC_SYSCFG_CLK_DISABLE();
#endif
} /*** end of HAL_MspDeInit ***/

View File

@ -290,6 +290,7 @@ void HAL_MspDeInit(void)
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_9);
/* UART clock disable. */
__HAL_RCC_USART3_CLK_DISABLE();
#endif
/* GPIO ports clock disable. */
__HAL_RCC_GPIOD_CLK_DISABLE();
@ -300,7 +301,6 @@ void HAL_MspDeInit(void)
/* SYSCFG and PWR clock disable. */
__HAL_RCC_PWR_CLK_DISABLE();
__HAL_RCC_SYSCFG_CLK_DISABLE();
#endif
} /*** end of HAL_MspDeInit ***/