소스 검색

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() {