X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fkaka%2Fcakelight%2FCakeLight.java;h=c51a5340cebe71aa043a82c650538bef6b54da02;hb=38c759f87fc7de47d9dee60088f2dbc60e0a55fb;hp=5401c0f078c049f4c7ca80cc6dba830042759cfc;hpb=d182b8ccdbbbdadc4441170f0135ec98c76f5d17;p=kaka%2Fcakelight.git diff --git a/src/kaka/cakelight/CakeLight.java b/src/kaka/cakelight/CakeLight.java index 5401c0f..c51a534 100644 --- a/src/kaka/cakelight/CakeLight.java +++ b/src/kaka/cakelight/CakeLight.java @@ -8,6 +8,7 @@ public class CakeLight { public CakeLight(Configuration config, LedController ledController) { this.config = config; this.ledController = ledController; + Color.calculateGammaCorrection(config.gamma); } public void setMode(Mode mode) {