소스 검색

Merge branch 'v1.1.0' into github_download

Chris Mullins 8 년 전
부모
커밋
d5160662c1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/MiLight/RgbwPacketFormatter.cpp

+ 1 - 1
lib/MiLight/RgbwPacketFormatter.cpp

@@ -60,8 +60,8 @@ void RgbwPacketFormatter::updateHue(uint16_t value) {
 }
 
 void RgbwPacketFormatter::updateColorRaw(uint8_t value) {
-  currentPacket[RGBW_COLOR_INDEX] = value;
   command(RGBW_COLOR, 0);
+  currentPacket[RGBW_COLOR_INDEX] = value;
 }
 
 void RgbwPacketFormatter::updateColorWhite() {