RM2_1 #2

Merged
sundp merged 208 commits from RM2_1 into master 2024-09-13 09:16:14 +08:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit 890d31711f - Show all commits

View File

@ -2102,9 +2102,12 @@ void USER_APP_AUTO_RESPONDER_Parse(char *tlv_buf, size_t tlv_buf_size)
sts_cfg_nvm.unconcious_threshold = (uint8_t)(tlv_buf[CFG_CMD7] - 0x30+1);
sts_cfg_nvm.occupancy_overtime_threshold = (uint8_t)(tlv_buf[CFG_CMD8] - 0x30);
if ((sts_fall_detection_acc_threshold ==0)&&(sts_fall_detection_depth_threshold==0))
if (sts_work_mode == STS_UNI_MODE) // fall detection threshold only effective in Uni_mode
{
sts_presence_fall_detection = 0;
if ((sts_fall_detection_acc_threshold ==0)&&(sts_fall_detection_depth_threshold==0))
{
sts_presence_fall_detection = 0;
}
}
OnStoreSTSCFGContextRequest();