Explorar el Código

测试接收lora的success成功。添加蓝牙模块的采集速度成功。

xuxinyi hace 3 meses
padre
commit
e16e400e53
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Core/Src/main.c

+ 1 - 1
Core/Src/main.c

@@ -357,7 +357,7 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
     printf("USART2 Received: %s\r\n", uart2_rx_byte);
 
     // 继续接收下一个字节
-    HAL_UART_Receive_IT(&huart2, uart2_rx_byte, 1);
+    HAL_UART_Receive_IT(&huart2, uart2_rx_byte, 7);
   }
 }