mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Despite the implications of the example and the `MAVLINK_COMM_NUM_BUFFERS` limit in the description, the actual first argument to this function is the serial port number. Correct the argument range to allow any possible port number (no need to limit as the list is sparse) and enhance the example to give more port numbers.