Browse Source

nextMode instead of set mode to 0

Chris Mullins 8 years ago
parent
commit
d4b189aedb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Udp/V5MiLightUdpServer.cpp

+ 1 - 1
lib/Udp/V5MiLightUdpServer.cpp

@@ -57,7 +57,7 @@ void V5MiLightUdpServer::handleCommand(uint8_t command, uint8_t commandArg) {
         break;
 
       case UDP_RGBW_DISCO_MODE:
-        pressButton(RGBW_DISCO_MODE);
+        client->nextMode();
         break;
 
       case UDP_RGBW_SPEED_DOWN: