QuakeGod
2024-02-25 95322c84888cbe2e92024d4d65698f59b016cb52
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 {