should be seconds
This commit is contained in:
parent
27fefb9f60
commit
85c9a71bc9
|
@ -65,7 +65,7 @@ int main(int argc, char **argv) {
|
||||||
double t2 = millis_since_boot();
|
double t2 = millis_since_boot();
|
||||||
|
|
||||||
// send dm packet
|
// 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);
|
LOGD("dmonitoring process: %.2fms, from last %.2fms", t2-t1, t1-last);
|
||||||
last = t1;
|
last = t1;
|
||||||
|
|
Loading…
Reference in a new issue