MINOR CHANGE
This commit is contained in:
parent
cb4a4530ac
commit
80ad4d0c81
|
@ -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
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue