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

+ 1 - 1
lib/Udp/V5MiLightUdpServer.cpp

@@ -32,7 +32,7 @@ void V5MiLightUdpServer::handleCommand(uint8_t command, uint8_t commandArg) {
     this->lastGroup = cctGroup;
 
     // Night mode commands are same as off commands with MSB set
-    if (command & 0x80 == 0x80) {
+    if ((command & 0x80) == 0x80) {
       client->enableNightMode();
     } else {
       client->updateStatus(cctCommandToStatus(command));