From b0840e73be6406a4d25ec4935d45209eed62038d Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Mon, 13 May 2024 22:53:34 +0800 Subject: [PATCH] minor changes --- Core/Src/yunhorn_sts_presence_rss.c | 4 ++-- LoRaWAN/App/lora_app.c | 2 +- STM32CubeIDE/Release/STS_O7.bin | Bin 253408 -> 253408 bytes 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/Src/yunhorn_sts_presence_rss.c b/Core/Src/yunhorn_sts_presence_rss.c index 57a09b9..9adaee3 100644 --- a/Core/Src/yunhorn_sts_presence_rss.c +++ b/Core/Src/yunhorn_sts_presence_rss.c @@ -646,7 +646,7 @@ void STS_YunhornCheckStandardDeviation(void) if ( sts_fall_rising_detected_result == STS_PRESENCE_FALL ) { - APP_LOG(TS_OFF, VLEVEL_L, "\r\n\n\n >>>>>>>>>>>>>>>>> Suspecious Object FALL DOWN detected \r\n"); + APP_LOG(TS_OFF, VLEVEL_M, "\r\n\n\n >>>>>>>>>>>>>>>>> Suspecious Object FALL DOWN detected \r\n"); } //if (average_presence_distance > DEFAULT_START_M) { @@ -662,7 +662,7 @@ void STS_YunhornCheckStandardDeviation(void) if ( sts_fall_rising_detected_result == STS_PRESENCE_RISING ) { - APP_LOG(TS_OFF, VLEVEL_L, "\r\n\n\n >>>>>>>>>>>>>>>>> Suspicious Object RISING UP detected \r\n"); + APP_LOG(TS_OFF, VLEVEL_M, "\r\n\n\n >>>>>>>>>>>>>>>>> Suspicious Object RISING UP detected \r\n"); } diff --git a/LoRaWAN/App/lora_app.c b/LoRaWAN/App/lora_app.c index c079e8f..10911c7 100644 --- a/LoRaWAN/App/lora_app.c +++ b/LoRaWAN/App/lora_app.c @@ -55,7 +55,7 @@ extern volatile uint8_t sts_reed_hall_1_changed, sts_reed_hall_2_changed; volatile uint8_t sts_reed_hall_result =0, sts_emergency_button_pushed=0; // inital 0 = close extern volatile uint8_t sts_work_mode, sts_cloud_netcolor, sts_lamp_bar_color, sts_status_color; extern volatile uint8_t sts_rss_result_changed_flag, sts_hall1_changed_flag, sts_hall2_changed_flag, sts_reed_hall_changed_flag; -volatile uint8_t sts_fall_detection_acc_threshold = 10, sts_fall_detection_depth_threshold=30, sts_occupancy_overtime_threshold=20; +volatile uint8_t sts_fall_detection_acc_threshold = 10, sts_fall_detection_depth_threshold=20, sts_occupancy_overtime_threshold=20; extern volatile uint32_t event_start_time, event_stop_time; extern volatile uint16_t sts_unconcious_threshold; volatile uint8_t sts_occupancy_overtime_state = 0; diff --git a/STM32CubeIDE/Release/STS_O7.bin b/STM32CubeIDE/Release/STS_O7.bin index 71013104861bcfd384bed53a7e5374a90d2688a7..81d102f4b73398dcf6f5dcfb855c9bfae4f07f89 100644 GIT binary patch delta 375 zcmaE`oBzRX{tb6r8Fx;;>*~!oXR@YSwDbgT1|{tev;LiZ$-wCUp&-z}?eF)efBt?C z{n0gfzMCgw#pIW6hTJ)xf4_(Q{rg?$N5*7TcYnsP$))aw{$4;)fxmygpZV_!HihM% zo3~Vjo40hw>`k+r8r(YF8a^y)a0ZGwL&dl+IeBUTZTS1wV55UKqmopCbcMaw?M=c3 z_CEHLzq)rbN=|O{(3TMLKCnrmLAioaTlFG?l7P3M8`Y{~*ITd()&%oWGerbN*&Z z`VcWOgWf$fT@Xpj^SEePa^~&>~@=Mf@LP|0`GA-eg^H?m5UDPOsS@ z-D%<(8#6#o&k_A)38ZxY3T$KsYTol)p*~!oWwNGQv~-_0gOc`#S^v(yWMK6FP!MR~_V@eKKYzc6 z{^*!I-_4V;Z1PJtL+&ikzu&|D{{1fWBW<#(yFX*d*Z96U9EHvIi-u+h$&QAw&my294$_9o#1 zTOZrWU){SI#V0p4zaEt|mm zNyT^Xix2%u{?