瀏覽代碼

uncomment

Chris Mullins 8 年之前
父節點
當前提交
9379ab3093
共有 1 個文件被更改,包括 2 次插入2 次删除
  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();
 }