mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 23:18:28 -04:00
16 lines
257 B
C++
16 lines
257 B
C++
#include "GCS_Copter.h"
|
|
#include "Copter.h"
|
|
|
|
bool GCS_Copter::cli_enabled() const
|
|
{
|
|
#if CLI_ENABLED == ENABLED
|
|
return copter.g.cli_enabled;
|
|
#else
|
|
return false;
|
|
#endif
|
|
}
|
|
|
|
AP_HAL::BetterStream* GCS_Copter::cliSerial() {
|
|
return copter.cliSerial;
|
|
}
|