Chris Mullins il y a 8 ans
Parent
commit
9379ab3093
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      lib/MiLight/MiLightClient.cpp

+ 2 - 2
lib/MiLight/MiLightClient.cpp

@@ -227,7 +227,7 @@ void MiLightClient::flushPacket() {
 
   // When sending multiple packets, normalize the number of repeats
   if (stream.numPackets > 1) {
-    // setResendCount(MILIGHT_DEFAULT_RESEND_COUNT);
+    setResendCount(MILIGHT_DEFAULT_RESEND_COUNT);
   }
 
   while (stream.hasNext()) {
@@ -238,6 +238,6 @@ void MiLightClient::flushPacket() {
     }
   }
 
-  // setResendCount(prevNumRepeats);
+  setResendCount(prevNumRepeats);
   formatter->reset();
 }