@@ -365,7 +365,7 @@ void USART3_IRQHandler(void)
}
// 再入队新数据
- if (RingBuffer_Enqueue(&deviceInfo.queueBLData, rx_buf) == 0) {
+ if (rx_buf[6] == 0xf0 && RingBuffer_Enqueue(&deviceInfo.queueBLData, rx_buf) == 0) {
// 入队成功
// printf("入队成功\n");
} else {