From 20cc027f2e7b6bdffc5b0990b1281a055bc42881 Mon Sep 17 00:00:00 2001 From: cfif Date: Fri, 27 Feb 2026 13:31:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lins.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Lins.c b/Lins.c index 1aeef0d..686046b 100644 --- a/Lins.c +++ b/Lins.c @@ -385,20 +385,20 @@ tLinData *Lin5_Init(lin_callback_ext_t Lin_ExtCallbackHandler) { tGpioInitStruct.ePinLevel = GPIO_HIGH; GPIO_InitPins(GPIO_A, &tGpioInitStruct); - // Port D8: MUX = GPIO output ENABLE - tInitStruct.u32PortPins = PORT_PIN_8; + // Port A6: MUX = GPIO output ENABLE + tInitStruct.u32PortPins = PORT_PIN_6; tInitStruct.uPortPinMux.u32PortPinMode = PORT_GPIO_MODE; - PORT_InitPins(PORT_D, &tInitStruct); + PORT_InitPins(PORT_A, &tInitStruct); - tGpioInitStruct.u32GpioPins = GPIO_PIN_8; + tGpioInitStruct.u32GpioPins = GPIO_PIN_6; tGpioInitStruct.ePinDirection = GPIO_OUT; tGpioInitStruct.ePinLevel = GPIO_HIGH; - GPIO_InitPins(GPIO_D, &tGpioInitStruct); + GPIO_InitPins(GPIO_A, &tGpioInitStruct); LIN_Initial( &env->lin5, FCUART0, - 19200, + 9600, 0, // UART0 = 0 ... UART7 = 7 FCUART0_IRQn, // FCUART0_IRQn ... FCUART7_IRQn