minor changes
This commit is contained in:
parent
d168983d62
commit
b0840e73be
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue