RM2_1 #2
|
@ -1197,9 +1197,9 @@ static void OnYunhornSTSDurationCheckTimerEvent(void *context)
|
||||||
*/
|
*/
|
||||||
switch (sts_fall_rising_detected_result){
|
switch (sts_fall_rising_detected_result){
|
||||||
case STS_PRESENCE_NORMAL:
|
case STS_PRESENCE_NORMAL:
|
||||||
sts_o7_sensorData.fall_state = 0;
|
sts_o7_sensorData.fall_state = STS_PRESENCE_NORMAL;
|
||||||
sts_o7_sensorData.fall_laydown_duration=0;
|
sts_o7_sensorData.fall_laydown_duration=0;
|
||||||
sts_o7_sensorData.unconscious_state =0;
|
sts_o7_sensorData.unconscious_state =STS_PRESENCE_NORMAL;
|
||||||
sts_o7_sensorData.unconscious_duration =0;
|
sts_o7_sensorData.unconscious_duration =0;
|
||||||
sts_o7_sensorData.no_movement_duration =0;
|
sts_o7_sensorData.no_movement_duration =0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue