Commit 7c97e8e
authored
Fix report timestamps (#305)
This is not really a bug but annoying to receivers of our reports. If
the ticker ticks, but then another packet is handled first, the
timestamp of the report (from the ticker) will be before the receive
timestamp of the last packet in the report. In that case, the report
contains a 0x1FFF value to indicate that the packet was received after
the report. However, we know the timestamp and can send it, if we take
the timstamp after entering the case branch. At that time, it is
guaranteed, that no additional packets can be added to the report.1 parent 73f7ccf commit 7c97e8e
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| |||
0 commit comments