X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fkaka%2Fcakelight%2FCakeLight.java;h=9b32c026b34649b3bae075542f2b32d7837788ec;hb=f722ee0d05ade1f90b7bc5e51d68b3aed4d65652;hp=5401c0f078c049f4c7ca80cc6dba830042759cfc;hpb=d182b8ccdbbbdadc4441170f0135ec98c76f5d17;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) {