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