Refactored the LED frames backing data
[kaka/cakelight.git] / src / kaka / cakelight / Configuration.java
index 94c5ddd..d91bfb6 100644 (file)
@@ -101,5 +101,9 @@ public class Configuration {
             cols = Integer.parseInt(get(prop, "leds.cols"));
             rows = Integer.parseInt(get(prop, "leds.rows"));
         }
+
+        public int getCount() {
+            return cols * 2 + rows * 2;
+        }
     }
 }