---Change stay still to no movement

This commit is contained in:
Yunhorn 2024-07-15 16:25:47 +08:00
parent 409f4ff2cb
commit 3f9bdbe981
1 changed files with 2 additions and 1 deletions

View File

@ -725,7 +725,8 @@ void STS_YunhornCheckStandardDeviation(void)
// *********** detection situation suggestion // *********** detection situation suggestion
if (standard_variance_presence_score <= MIN(DEFAULT_UNCONSCIOUS_THRESHOLD, sts_unconscious_threshold)) { if (standard_variance_presence_score <= MIN(DEFAULT_UNCONSCIOUS_THRESHOLD, sts_unconscious_threshold)) {
sts_fall_rising_detected_result = STS_PRESENCE_STAYSTILL; //sts_fall_rising_detected_result = STS_PRESENCE_STAYSTILL;
sts_fall_rising_detected_result = STS_PRESENCE_NO_MOVEMENT;
} }
if ( sts_fall_rising_pattern_factor1 > (uint16_t)sts_fall_detection_acc_threshold) if ( sts_fall_rising_pattern_factor1 > (uint16_t)sts_fall_detection_acc_threshold)