暂存,临时改了8%LEL,响应时间缩短

This commit is contained in:
小马_666 2025-05-06 19:05:24 +08:00
parent e6568a7f57
commit be232e54c5
5 changed files with 9 additions and 6 deletions

View File

@ -74,7 +74,9 @@
"netdev.h": "c",
"at.h": "c",
"spi-bit-ops.h": "c",
"signal.h": "c"
"signal.h": "c",
"stdint.h": "c",
"xtr1common": "c"
},
"commentTranslate.multiLineMerge": true,
"C_Cpp.errorSquiggles": "disabled"

View File

@ -24,7 +24,7 @@
#define SYS_IOT_UPLOAD_CYCLE_MIN (0X3C00U) // 高位在后,低位在前
#define SYS_IOT_RETRY (0X03U)
#define SYS_TEMP_ALARM_THRESHOLD (0X30U)
#define SYS_ALARM_VALVE (0X0AU)
#define SYS_ALARM_VALVE (0X08U)
#define SYS_EMV_SWITCH (0X04U)
#define SYS_RELAY_SWITCH (0X04U)
#define SYS_ALARM_VALVE_MAX (0X30U)

View File

@ -2,7 +2,7 @@
* @Author: mbw
* @Date: 2025-01-24 08:40:39
* @LastEditors: mbw && 1600520629@qq.com
* @LastEditTime: 2025-02-14 11:06:11
* @LastEditTime: 2025-05-06 18:21:54
* @FilePath: \JT-DT-YD4N02A_RTT_MRS-NT26K\bsp\inc\bsp_h308.h
* @Description:
* @
@ -27,7 +27,7 @@
#define TSET_BSP_H308
#define H308_SAMPLING_TIMS (8U)
#define H308_SAMPLING_TIMS (1U)
/*浓度异常采样周期*/
#define H308_SAMPLING_ABNORMAL (60U)
#define H308_PWR_PIN GET_PIN(B, 9)

View File

@ -369,9 +369,10 @@ static int at_device_nt26k_connect_tcp(struct at_device *device)
int at_send_data(struct at_device *device, const char *data, rt_size_t size)
{
rt_mutex_take(nt26k_mutex, RT_WAITING_FOREVER);
#define NT26K_SEND_RESP_TIME (3000)
rt_mutex_take(nt26k_mutex, RT_WAITING_FOREVER);
const char *line_buffer = RT_NULL;
at_response_t resp = at_create_resp(AT_CLIENT_RECV_BUFF_LEN, 2, NT26K_SEND_RESP_TIME);
if (resp == RT_NULL)

View File

@ -43,7 +43,7 @@
#include "stdint.h"
#define FLEX_BTN_SCAN_FREQ_HZ 20 // How often flex_button_scan () is called
#define FLEX_BTN_SCAN_FREQ_HZ 50 // How often flex_button_scan () is called
#define FLEX_MS_TO_SCAN_CNT(ms) (ms / (1000 / FLEX_BTN_SCAN_FREQ_HZ)) //
/* Multiple clicks interval, default 300ms */
#define MAX_MULTIPLE_CLICKS_INTERVAL (FLEX_MS_TO_SCAN_CNT(300))