QuakeGod
2024-08-08 1fb934cda3067a81f82a7add0fa5b39f5ebf3094
ComLib/Src/stm32f0xx_it.c
@@ -253,7 +253,9 @@
      unsigned char ch=LL_USART_ReceiveData8(USART1);
      // PushOne(&Uart1Stat.QRx,ch);
      Uart1Stat.RecvBytes++;
      Uart1RecvBuf1[Uart1RecvBuf1DataLen++]=ch;
      Uart1RecvBuf1[Uart1RecvBuf1DataLen]=ch;
      if (Uart1RecvBuf1DataLen < Uart1RecvBufSize -1 ) {Uart1RecvBuf1DataLen++;}
      //LL_USART_TransmitData8(USART1,ch);
   }
   if (LL_USART_IsActiveFlag_ORE(USART1))