mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Fix per second metric on boards
This commit is contained in:
parent
6dcf3e15da
commit
89be08bc58
@ -193,7 +193,7 @@ public class IrisEngine extends BlockPopulator implements Engine {
|
||||
|
||||
long dur = M.ms() - lastGPS.get();
|
||||
lastGPS.set(M.ms());
|
||||
perSecond.set(1000D / ((double) dur / g));
|
||||
perSecond.set(g / ((double) (dur) / 1000D));
|
||||
}
|
||||
|
||||
return perSecond.get();
|
||||
|
Loading…
x
Reference in New Issue
Block a user