Copter: trigger + logging on camera update_location()

This commit is contained in:
Craig@3DR 2013-07-09 15:32:51 -07:00 committed by Andrew Tridgell
parent f5154d9e7a
commit bbd4fbd2fb

View File

@ -1374,7 +1374,9 @@ static void update_GPS(void)
}
#if CAMERA == ENABLED
camera.update_location(current_loc);
if (camera.update_location(current_loc) == true) {
do_take_picture();
}
#endif
}