---Change stay still to no movement
This commit is contained in:
parent
409f4ff2cb
commit
3f9bdbe981
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue