Cleaning up benchmarks and drivers code.
[iot2.git] / benchmarks / Java / Lifxtest / Lifxtest.java
index 64469f5481a68b5f2172dc3db83f4635fb273197..b968682b2f3be42772cd1d31caf55d65e8abf796 100644 (file)
@@ -27,12 +27,8 @@ public class Lifxtest {
        public void init() throws InterruptedException {
 
                for(LightBulbTest lifx : lifx_light_bulb.values()) {
-                       //Thread thread = new Thread(new Runnable() {
-                       //      public void run() {
-                                       lifx.init();
-                       //      }
-                       //});
-                       //thread.start();
+
+                       lifx.init();
                        Thread.sleep(1000);
 
                        for (int i = 0; i < 5; i++) {
@@ -68,8 +64,7 @@ public class Lifxtest {
                                lifx.setColor(lifx.getHue(), lifx.getSaturation(), i);
                                Thread.sleep(500);
                        }
-                        lifx.turnOff();
-                       //thread.join();
+                       lifx.turnOff();
                }
        }
 }