mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-11 20:59:22 +08:00
- Wrapped the definition of `serial_instance` with preprocessor directives to ensure it is only defined when necessary. - This resolves the compile error caused by the unused variable when no features requiring `serial_instance` are enabled.