mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-04 09:18:57 +08:00
Instead of printing to an fd, this prints to a buffer and calls a callback for each line. To avoid code duplication, the print_load has been refactored to print to a buffer first, then print to an fd. The overhead is not noticable, and the behavior of print_load is unchanged.