diff --git a/ArduSub/terrain.cpp b/ArduSub/terrain.cpp index bb35ba31fb..b7b1b7e943 100644 --- a/ArduSub/terrain.cpp +++ b/ArduSub/terrain.cpp @@ -22,7 +22,7 @@ void Sub::terrain_logging() { #if AP_TERRAIN_AVAILABLE && AC_TERRAIN if (should_log(MASK_LOG_GPS)) { - terrain.log_terrain_data(DataFlash); + terrain.log_terrain_data(); } #endif }