Plane: use dataflash logging for terrain

This commit is contained in:
Andrew Tridgell 2014-08-06 12:16:43 +10:00
parent 9ca65602c6
commit 448b3f60e0

View File

@ -1015,6 +1015,9 @@ static void one_second_loop()
#if AP_TERRAIN_AVAILABLE
terrain.update();
if (should_log(MASK_LOG_GPS)) {
terrain.log_terrain_data(DataFlash);
}
#endif
}