mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Networking: ensure PPP does not dominate the CPU
This commit is contained in:
parent
7e29452082
commit
2048631526
@ -39,6 +39,8 @@ uint32_t AP_Networking_PPP::ppp_output_cb(ppp_pcb *pcb, const void *data, uint32
|
||||
if (n > 0) {
|
||||
remaining -= n;
|
||||
ptr += n;
|
||||
} else {
|
||||
hal.scheduler->delay_microseconds(100);
|
||||
}
|
||||
}
|
||||
return len;
|
||||
|
Loading…
Reference in New Issue
Block a user