From 23d05713120e86b0d02ac6994b6fea1e42f527f7 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Mon, 14 Sep 2020 22:03:13 +0000 Subject: [PATCH] need to free tici DSP asap old-commit-hash: 3801374da98197f375e28e73ead0a227389c4256 --- selfdrive/modeld/dmonitoringmodeld.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/selfdrive/modeld/dmonitoringmodeld.cc b/selfdrive/modeld/dmonitoringmodeld.cc index dbd389e658..4e15075889 100644 --- a/selfdrive/modeld/dmonitoringmodeld.cc +++ b/selfdrive/modeld/dmonitoringmodeld.cc @@ -71,6 +71,11 @@ int main(int argc, char **argv) { LOGD("dmonitoring process: %.2fms, from last %.2fms", t2-t1, t1-last); last = t1; +#ifdef QCOM2 + // this makes it run at about 2.7Hz on tici CPU to deal with modeld lags + // TODO: DSP needs to be freed (again) + usleep(250000); +#endif } visionstream_destroy(&stream); }