Commit c6e62c0c authored by Andreas Schmidt's avatar Andreas Schmidt

Add post-pacing again.

parent c0d0bf78
Pipeline #2829 passed with stages
in 1 minute and 40 seconds
......@@ -60,7 +60,7 @@ bool PrrtSocket_pace(PrrtSocket *s, bool prepace) {
prrtTimestamp_t now = PrrtClock_get_current_time_us();
diff = PrrtTimestamp_cmp(s->nextSendTime, now);
if (!prepace) { // post-pacing removes appSendPace
//diff -= PrrtPace_get_max(s->appSendPace);
diff -= PrrtPace_get_diff(s->appSendPace);
diff = MAX(0, diff);
}
if (diff > 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment