AP_Camera: fix for new AP_Math API

Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
This commit is contained in:
Andrew Tridgell 2013-08-05 10:16:00 +10:00
parent 6b5ee80b70
commit f3b3e23bbc
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ bool AP_Camera::update_location(const struct Location &loc)
// be called without a new GPS fix
return false;
}
if (get_distance(&loc, &_last_location) < _trigg_dist) {
if (get_distance(loc, _last_location) < _trigg_dist) {
return false;
}
_last_location = loc;