Refs #1003. Corrected deinit of the CAN GPIO pins in the Nucleo-F746ZG demo user program.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@784 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
Frank Voorburg 2020-06-25 14:35:47 +00:00
parent 54ea656f69
commit 83364044dd
4 changed files with 4 additions and 4 deletions

View File

@ -245,7 +245,7 @@ void HAL_MspDeInit(void)
{
#if (BOOT_COM_CAN_ENABLE > 0)
/* Reset CAN GPIO pin configuration. */
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_0 | GPIO_PIN_1);
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8 | GPIO_PIN_9);
#endif /* BOOT_COM_CAN_ENABLE > 0 */
#if (BOOT_COM_RS232_ENABLE > 0)
/* Reset UART GPIO pin configuration. */

View File

@ -243,7 +243,7 @@ void HAL_MspDeInit(void)
{
#if (BOOT_COM_CAN_ENABLE > 0)
/* Reset CAN GPIO pin configuration. */
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_0 | GPIO_PIN_1);
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8 | GPIO_PIN_9);
#endif /* BOOT_COM_CAN_ENABLE > 0 */
#if (BOOT_COM_RS232_ENABLE > 0)
/* Reset UART GPIO pin configuration. */

View File

@ -245,7 +245,7 @@ void HAL_MspDeInit(void)
{
#if (BOOT_COM_CAN_ENABLE > 0)
/* Reset CAN GPIO pin configuration. */
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_0 | GPIO_PIN_1);
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8 | GPIO_PIN_9);
#endif /* BOOT_COM_CAN_ENABLE > 0 */
#if (BOOT_COM_RS232_ENABLE > 0)
/* Reset UART GPIO pin configuration. */

View File

@ -245,7 +245,7 @@ void HAL_MspDeInit(void)
{
#if (BOOT_COM_CAN_ENABLE > 0)
/* Reset CAN GPIO pin configuration. */
HAL_GPIO_DeInit(GPIOD, GPIO_PIN_0 | GPIO_PIN_1);
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8 | GPIO_PIN_9);
#endif /* BOOT_COM_CAN_ENABLE > 0 */
#if (BOOT_COM_RS232_ENABLE > 0)
/* Reset UART GPIO pin configuration. */