Bläddra i källkod

Forward parameters in overloaded MiLightClient::prepare()

Adrian Ebeling 7 år sedan
förälder
incheckning
9f133081df
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      lib/MiLight/MiLightClient.cpp

+ 1 - 1
lib/MiLight/MiLightClient.cpp

@@ -86,7 +86,7 @@ void MiLightClient::prepare(const MiLightRemoteType type,
   const uint16_t deviceId,
   const uint8_t groupId
 ) {
-  prepare(MiLightRemoteConfig::fromType(type));
+  prepare(MiLightRemoteConfig::fromType(type), deviceId, groupId);
 }
 
 void MiLightClient::setResendCount(const unsigned int resendCount) {