|
@@ -402,9 +402,9 @@ void MiLightClient::updateResendCount() {
|
|
|
|
|
|
|
|
void MiLightClient::flushPacket() {
|
|
void MiLightClient::flushPacket() {
|
|
|
PacketStream& stream = currentRemote->packetFormatter->buildPackets();
|
|
PacketStream& stream = currentRemote->packetFormatter->buildPackets();
|
|
|
|
|
+ updateResendCount();
|
|
|
|
|
|
|
|
while (stream.hasNext()) {
|
|
while (stream.hasNext()) {
|
|
|
- updateResendCount();
|
|
|
|
|
write(stream.next());
|
|
write(stream.next());
|
|
|
|
|
|
|
|
if (stream.hasNext()) {
|
|
if (stream.hasNext()) {
|