Copter: check dataflash to see if we should log backend gps messages

This commit is contained in:
Peter Barker 2017-06-27 18:13:15 +10:00 committed by Francisco Ferreira
parent ef72381708
commit 37abc1b02f

View File

@ -205,7 +205,8 @@ void Copter::init_ardupilot()
ahrs.set_beacon(&g2.beacon);
// Do GPS init
gps.init(&DataFlash, serial_manager);
gps.set_log_gps_bit(MASK_LOG_GPS);
gps.init(serial_manager);
init_compass();