mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-05 23:43:58 -04:00
AP_Camera: revert AP_Math class change
This commit is contained in:
parent
48fb7f8159
commit
d2167633f0
@ -235,7 +235,7 @@ void AP_Camera::send_feedback(mavlink_channel_t chan, AP_GPS &gps, const AP_AHRS
|
||||
*/
|
||||
bool AP_Camera::update_location(const struct Location &loc)
|
||||
{
|
||||
if (AP_Math::is_zero(_trigg_dist)) {
|
||||
if (is_zero(_trigg_dist)) {
|
||||
return false;
|
||||
}
|
||||
if (_last_location.lat == 0 && _last_location.lng == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user