瀏覽代碼

need to send OFF packet as well in order for night mode to work

Chris Mullins 8 年之前
父節點
當前提交
54e77d4ec8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/MiLight/RgbwPacketFormatter.cpp

+ 1 - 1
lib/MiLight/RgbwPacketFormatter.cpp

@@ -88,7 +88,7 @@ void RgbwPacketFormatter::updateColorWhite() {
 void RgbwPacketFormatter::enableNightMode() {
   uint8_t button = STATUS_COMMAND(OFF, groupId);
 
-  //command(button, 0);
+  command(button, 0);
   command(button | 0x10, 0);
 }