Ver código fonte

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

Chris Mullins 8 anos atrás
pai
commit
54e77d4ec8
1 arquivos alterados com 1 adições e 1 exclusões
  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);
 }