diff --git a/APP/peripheral.c b/APP/peripheral.c index f9b155a..0ef3043 100644 --- a/APP/peripheral.c +++ b/APP/peripheral.c @@ -761,6 +761,7 @@ static void performPeriodicTask(void) // tmos_set_event(vavle_task_id, VAVLE_LOW_VBAT_ALARM_EVT); // } + // TODO:温湿度传感器读错的话就不发了? float _humi, _temp; if (BSP_ReadTempHumi(&_humi, &_temp) == 0) { @@ -775,7 +776,7 @@ static void performPeriodicTask(void) else { logError("Read TempHumi Err"); - return; + // return; } #if 1 logDebug("switch_status:%d Temp:%d Bat:%d Humi:%d%% RSSI: %d" diff --git a/BSP/inc/bsp_valve.h b/BSP/inc/bsp_valve.h index 6f11e6c..4114a89 100644 --- a/BSP/inc/bsp_valve.h +++ b/BSP/inc/bsp_valve.h @@ -2,7 +2,7 @@ * @Author : stark1898y 1658608470@qq.com * @Date : 2024-12-12 15:55:38 * @LastEditors : stark1898y 1658608470@qq.com - * @LastEditTime : 2025-05-30 12:20:15 + * @LastEditTime : 2025-05-30 13:51:02 * @FilePath : \BLE_TYQ_CH584M\BSP\inc\bsp_valve.h * @Description : *