diff --git a/libraries/AP_Beacon/AP_Beacon.cpp b/libraries/AP_Beacon/AP_Beacon.cpp index 42286f4998..c5c82aa8a9 100644 --- a/libraries/AP_Beacon/AP_Beacon.cpp +++ b/libraries/AP_Beacon/AP_Beacon.cpp @@ -272,7 +272,7 @@ void AP_Beacon::update_boundary_points() bool boundary_success = false; // true once the boundary has been successfully found bool boundary_failure = false; // true if we fail to build the boundary - float start_angle = 0.0f; // starting angle used when searching for next boundary point, on each iteration this climbs but never climbs past PI * 2 + float start_angle = 0.0f; // starting angle used when searching for next boundary point, on each iteration this climbs but never climbs past PI * 2 while (!boundary_success && !boundary_failure) { // look for next outer point uint8_t next_idx; diff --git a/libraries/AP_Beacon/AP_Beacon_Backend.h b/libraries/AP_Beacon/AP_Beacon_Backend.h index 20632ddb0e..905c9d14a3 100644 --- a/libraries/AP_Beacon/AP_Beacon_Backend.h +++ b/libraries/AP_Beacon/AP_Beacon_Backend.h @@ -23,9 +23,9 @@ class AP_Beacon_Backend { public: // constructor. This incorporates initialisation as well. - AP_Beacon_Backend(AP_Beacon &frontend); + AP_Beacon_Backend(AP_Beacon &frontend); - // return true if sensor is basically healthy (we are receiving data) + // return true if sensor is basically healthy (we are receiving data) virtual bool healthy() = 0; // update