From 95322c84888cbe2e92024d4d65698f59b016cb52 Mon Sep 17 00:00:00 2001 From: QuakeGod <quakegod@sina.com> Date: 星期日, 25 二月 2024 12:29:35 +0800 Subject: [PATCH] move some define from Kbus.h to KBusDefine.h --- KBus/Src/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/KBus/Src/main.c b/KBus/Src/main.c index 025920a..a6e38f7 100644 --- a/KBus/Src/main.c +++ b/KBus/Src/main.c @@ -469,7 +469,7 @@ #else KBusSlaveFunc(2); if (! KMem.RunStat) {BufferIn[0]=0;} - KMem.WY[0]=BufferIn[0]; + KMem.WLY[0]=BufferIn[0]; #endif if (nSlaveTick&0x00002000) SlowFlicker=1; else SlowFlicker=0; @@ -573,7 +573,7 @@ Uart1Stat.bPacketRecved=0; Uart1IdelTimer = 0; }else { - if (Uart1IdelTimer>600000) { + if (Uart1IdelTimer>600000) { // 瓒呰繃60绉掓病鏈夋暟鎹紶杈擄紝閲嶆柊杩涘叆鑷�傚簲娉㈢壒鐜囩姸鎬� LL_USART_EnableAutoBaudRate(USART1); LL_USART_SetAutoBaudRateMode(USART1, LL_USART_AUTOBAUD_DETECT_ON_FALLINGEDGE); }else { -- Gitblit v1.9.1