mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-21 09:31:20 -08:00
Added spotless and CONTRIBUTING.md (#172)
This commit is contained in:
1 parent
1e4013be98
commit
dedec668e1
12 files changed
+541
-1688
No files matched your search
@@ -236,7 +236,7 @@ public class VRServer extends Thread {
|
||||
public void run() {
|
||||
trackersServer.start();
|
||||
while (true) {
|
||||
// final long start = System.currentTimeMillis();
|
||||
// final long start = System.currentTimeMillis();
|
||||
do {
|
||||
Runnable task = tasks.poll();
|
||||
if (task == null)
|
||||
@@ -256,7 +256,7 @@ public class VRServer extends Thread {
|
||||
for (Bridge bridge : bridges) {
|
||||
bridge.dataWrite();
|
||||
}
|
||||
// final long time = System.currentTimeMillis() - start;
|
||||
// final long time = System.currentTimeMillis() - start;
|
||||
try {
|
||||
Thread.sleep(1); // 1000Hz
|
||||
} catch (InterruptedException e) {}
|
||||
|
||||
Reference in new issue
Block a user