mirror of https://github.com/rusefi/openblt.git
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:
parent
54ea656f69
commit
83364044dd
|
@ -245,7 +245,7 @@ void HAL_MspDeInit(void)
|
||||||
{
|
{
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
/* Reset CAN GPIO pin configuration. */
|
/* 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 */
|
#endif /* BOOT_COM_CAN_ENABLE > 0 */
|
||||||
#if (BOOT_COM_RS232_ENABLE > 0)
|
#if (BOOT_COM_RS232_ENABLE > 0)
|
||||||
/* Reset UART GPIO pin configuration. */
|
/* Reset UART GPIO pin configuration. */
|
||||||
|
|
|
@ -243,7 +243,7 @@ void HAL_MspDeInit(void)
|
||||||
{
|
{
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
/* Reset CAN GPIO pin configuration. */
|
/* 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 */
|
#endif /* BOOT_COM_CAN_ENABLE > 0 */
|
||||||
#if (BOOT_COM_RS232_ENABLE > 0)
|
#if (BOOT_COM_RS232_ENABLE > 0)
|
||||||
/* Reset UART GPIO pin configuration. */
|
/* Reset UART GPIO pin configuration. */
|
||||||
|
|
|
@ -245,7 +245,7 @@ void HAL_MspDeInit(void)
|
||||||
{
|
{
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
/* Reset CAN GPIO pin configuration. */
|
/* 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 */
|
#endif /* BOOT_COM_CAN_ENABLE > 0 */
|
||||||
#if (BOOT_COM_RS232_ENABLE > 0)
|
#if (BOOT_COM_RS232_ENABLE > 0)
|
||||||
/* Reset UART GPIO pin configuration. */
|
/* Reset UART GPIO pin configuration. */
|
||||||
|
|
|
@ -245,7 +245,7 @@ void HAL_MspDeInit(void)
|
||||||
{
|
{
|
||||||
#if (BOOT_COM_CAN_ENABLE > 0)
|
#if (BOOT_COM_CAN_ENABLE > 0)
|
||||||
/* Reset CAN GPIO pin configuration. */
|
/* 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 */
|
#endif /* BOOT_COM_CAN_ENABLE > 0 */
|
||||||
#if (BOOT_COM_RS232_ENABLE > 0)
|
#if (BOOT_COM_RS232_ENABLE > 0)
|
||||||
/* Reset UART GPIO pin configuration. */
|
/* Reset UART GPIO pin configuration. */
|
||||||
|
|
Loading…
Reference in New Issue