This commit is contained in:
小马_666 2025-01-23 09:06:05 +08:00
parent 685fa619cb
commit c8a9cfd3f7
1 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @Author: mbw * @Author: mbw
* @Date: 2024-11-14 10:21:04 * @Date: 2024-11-14 10:21:04
* @LastEditors: mbw && 1600520629@qq.com * @LastEditors: mbw && 1600520629@qq.com
* @LastEditTime: 2025-01-23 08:45:04 * @LastEditTime: 2025-01-23 09:05:28
* @FilePath: \JT-DT-YD4N02A_RTT_MRS-NT26K\bsp\src\bsp_h308.c * @FilePath: \JT-DT-YD4N02A_RTT_MRS-NT26K\bsp\src\bsp_h308.c
* @Description: * @Description:
* *
@ -36,9 +36,8 @@ static rt_sem_t uart4_rx_ok_sem;
static struct rt_timer uart4_rx_timer; static struct rt_timer uart4_rx_timer;
uint8_t sensor_rx_count = 0; // 接收缓冲区中,已经收到的数据包数量
uint8_t sensor_rx_flag = 0; // 接收缓冲区中已经收到的数据包数量static rt_uint8_t alarm_flag = 0, fault_flag = 0; uint8_t sensor_rx_flag = 0; // 接收缓冲区中已经收到的数据包数量static rt_uint8_t alarm_flag = 0, fault_flag = 0;
static rt_uint8_t alarm_flag = 0, fault_flag = 0;
TsH308 H308 = {0}; TsH308 H308 = {0};
void _UART4_RxTimeout(void *parameter) void _UART4_RxTimeout(void *parameter)