From 80ad4d0c8100ee3a56380a48ce562464c3333d08 Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Sun, 12 May 2024 13:33:59 +0800 Subject: [PATCH] MINOR CHANGE --- Core/Src/yunhorn_sts_presence_rss.c | 4 ++-- STM32CubeIDE/Release/STS_O7.bin | Bin 252120 -> 252120 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Src/yunhorn_sts_presence_rss.c b/Core/Src/yunhorn_sts_presence_rss.c index 22aa47d..5848c5b 100644 --- a/Core/Src/yunhorn_sts_presence_rss.c +++ b/Core/Src/yunhorn_sts_presence_rss.c @@ -290,7 +290,7 @@ static void print_result(acc_detector_presence_result_t result) { uint32_t detected_zone = (uint32_t)((float)(result.presence_distance - DEFAULT_START_M) / (float)DEFAULT_ZONE_LENGTH); - APP_LOG(TS_OFF, VLEVEL_H,"Motion in zone: %u, distance: %d, score: %d\n", (unsigned int)detected_zone, + APP_LOG(TS_OFF, VLEVEL_L,"Motion in zone: %u, distance: %d, score: %d\n", (unsigned int)detected_zone, (int)(result.presence_distance * 1000.0f), (int)(result.presence_score * 1000.0f)); } @@ -457,7 +457,7 @@ int sts_presence_rss_fall_rise_detection(void) acc_integration_sleep_ms(1000 / DEFAULT_UPDATE_RATE_PRESENCE); // DEFAULT_UPDATE_RATE); } - APP_LOG(TS_OFF, VLEVEL_H,"Second Half, Fall Rise Detection, Motion Count = %u \r\n", (int)motion_count); + APP_LOG(TS_OFF, VLEVEL_L,"Second Half, Fall Rise Detection, Motion Count = %u \r\n", (int)motion_count); sts_rss_result = (average_result > 3)? 1: 0; average_distance = (1000.0f*average_distance)/average_result; // in meters diff --git a/STM32CubeIDE/Release/STS_O7.bin b/STM32CubeIDE/Release/STS_O7.bin index d4afd0eaa5e4cd1ea1b7bf5220d1d4c72e34cd43..a1f27dab9ecb521d6b4f253f5905a21394e0ae1c 100644 GIT binary patch delta 35 pcmcbyk^ja<{tZ5^jEtLoU7xcvGB%s~wwwAg0x{EeQ(xxA-2m=}3@rcv delta 35 pcmcbyk^ja<{tZ5^jLe&TU7xcvGB=z0wwwAg0x{EeQ(xxA-2m>~3^4!z