should be seconds

pull/2592/head
Adeeb Shihadeh 2020-11-20 14:32:22 -08:00
parent 27fefb9f60
commit 85c9a71bc9
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ int main(int argc, char **argv) {
double t2 = millis_since_boot();
// send dm packet
dmonitoring_publish(pm, extra.frame_id, res, t2-t1);
dmonitoring_publish(pm, extra.frame_id, res, (t2-t1)/1000.0);
LOGD("dmonitoring process: %.2fms, from last %.2fms", t2-t1, t1-last);
last = t1;