Sub: Fix ADSB file for compilation.

This commit is contained in:
Rustom Jehangir 2016-02-02 13:34:19 -08:00 committed by Andrew Tridgell
parent 12464ab5b2
commit 02b8069270
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
/*
handle periodic adsb database maintenance and handle threats
*/
void Copter::adsb_update(void)
void Sub::adsb_update(void)
{
adsb.update();
adsb_handle_vehicle_threats();
@ -40,7 +40,7 @@ void Copter::adsb_update(void)
/*
* 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
if (adsb.get_is_evading_threat() && !adsb.get_another_vehicle_within_radius()) {