From 02b806927043b95d23c89a677fffd38cf7840cb0 Mon Sep 17 00:00:00 2001 From: Rustom Jehangir Date: Tue, 2 Feb 2016 13:34:19 -0800 Subject: [PATCH] Sub: Fix ADSB file for compilation. --- ArduSub/adsb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduSub/adsb.cpp b/ArduSub/adsb.cpp index 581d05d32f..6edc533701 100644 --- a/ArduSub/adsb.cpp +++ b/ArduSub/adsb.cpp @@ -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()) {