温湿度传感器读错的话就不发了?
This commit is contained in:
parent
6c27ef9544
commit
82b0fd0a4f
|
@ -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"
|
||||
|
|
|
@ -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 :
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue