Plane: use dataflash logging for terrain
This commit is contained in:
parent
9ca65602c6
commit
448b3f60e0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user