From 3f9bdbe981518858abed12733aa1c75e5603eb88 Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Mon, 15 Jul 2024 16:25:47 +0800 Subject: [PATCH] ---Change stay still to no movement --- Core/Src/yunhorn_sts_presence_rss.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/Src/yunhorn_sts_presence_rss.c b/Core/Src/yunhorn_sts_presence_rss.c index 5e0ed59..19cdc87 100644 --- a/Core/Src/yunhorn_sts_presence_rss.c +++ b/Core/Src/yunhorn_sts_presence_rss.c @@ -725,7 +725,8 @@ void STS_YunhornCheckStandardDeviation(void) // *********** detection situation suggestion 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)