mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
Sub: Fix ADSB file for compilation.
This commit is contained in:
parent
12464ab5b2
commit
02b8069270
@ -31,7 +31,7 @@
|
|||||||
/*
|
/*
|
||||||
handle periodic adsb database maintenance and handle threats
|
handle periodic adsb database maintenance and handle threats
|
||||||
*/
|
*/
|
||||||
void Copter::adsb_update(void)
|
void Sub::adsb_update(void)
|
||||||
{
|
{
|
||||||
adsb.update();
|
adsb.update();
|
||||||
adsb_handle_vehicle_threats();
|
adsb_handle_vehicle_threats();
|
||||||
@ -40,7 +40,7 @@ void Copter::adsb_update(void)
|
|||||||
/*
|
/*
|
||||||
* Handle ADS-B based threats which are platform dependent
|
* Handle ADS-B based threats which are platform dependent
|
||||||
*/
|
*/
|
||||||
void Copter::adsb_handle_vehicle_threats(void)
|
void Sub::adsb_handle_vehicle_threats(void)
|
||||||
{
|
{
|
||||||
// handle clearing of threat
|
// handle clearing of threat
|
||||||
if (adsb.get_is_evading_threat() && !adsb.get_another_vehicle_within_radius()) {
|
if (adsb.get_is_evading_threat() && !adsb.get_another_vehicle_within_radius()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user