瀏覽代碼

Default color temp rgb_cct white mode 100 (#196)

Change the default color tempreture for the rgb_cct protecol when pressing the "white mode" button from 0 (cold white) to 100 (warm white).
In a later update this schould become the last known color temperature stored in memory from the bulb state.
starkillerOG 8 年之前
父節點
當前提交
c87f4aeb31
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/MiLight/RgbCctPacketFormatter.cpp

+ 1 - 1
lib/MiLight/RgbCctPacketFormatter.cpp

@@ -55,7 +55,7 @@ void RgbCctPacketFormatter::updateSaturation(uint8_t value) {
 }
 
 void RgbCctPacketFormatter::updateColorWhite() {
-  updateTemperature(0);
+  updateTemperature(100);
 }
 
 void RgbCctPacketFormatter::enableNightMode() {