--- reduce delay in RSS motion/fall detection cycle

This commit is contained in:
Yunhorn 2024-08-20 17:26:16 +08:00
parent 6f69bd7ab7
commit 2e26d21e6e
1 changed files with 2 additions and 2 deletions

View File

@ -461,8 +461,8 @@ int sts_presence_rss_fall_rise_detection(void)
} }
} }
acc_integration_sleep_ms(1000 / DEFAULT_UPDATE_RATE_PRESENCE); // 15ms, DEFAULT_UPDATE_RATE); //acc_integration_sleep_ms(1000 / DEFAULT_UPDATE_RATE_PRESENCE); // 15ms, DEFAULT_UPDATE_RATE);
//acc_integration_sleep_ms(1); acc_integration_sleep_ms(2);
} }
deactivated = acc_detector_presence_deactivate(handle); deactivated = acc_detector_presence_deactivate(handle);