Fix init of bitsRemaining

This commit is contained in:
Remi Boure 2023-03-28 09:51:20 +02:00
parent e627cf7397
commit 59a58abc7c

View File

@ -8,6 +8,7 @@ public class Packets {
private int bitsNumberRemaining; private int bitsNumberRemaining;
public Packets(int startTimeSending){ public Packets(int startTimeSending){
this.bitsNumberRemaining = packetSize;
this.startTimeSending = startTimeSending; this.startTimeSending = startTimeSending;
} }