X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fkaka%2Fcakelight%2FCakeLight.java;h=9b32c026b34649b3bae075542f2b32d7837788ec;hb=01ee91e7622bbdf6a940b2d8ca9efc1f133cbe97;hp=5401c0f078c049f4c7ca80cc6dba830042759cfc;hpb=9ccceff1444c1aa58e90d8d30d54ff2802fcdbfa;p=kaka%2Fcakelight.git diff --git a/src/kaka/cakelight/CakeLight.java b/src/kaka/cakelight/CakeLight.java index 5401c0f..9b32c02 100644 --- a/src/kaka/cakelight/CakeLight.java +++ b/src/kaka/cakelight/CakeLight.java @@ -5,9 +5,9 @@ public class CakeLight { private Mode mode; private LedController ledController; - public CakeLight(Configuration config, LedController ledController) { + public CakeLight(Configuration config) { this.config = config; - this.ledController = ledController; + this.ledController = new LedController(config); } public void setMode(Mode mode) {