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

This commit is contained in:
Peter Barker 2017-06-27 18:12:55 +10:00 committed by Francisco Ferreira
parent 7258cfd20b
commit 4646eb3b95
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ void Rover::init_ardupilot()
init_barometer(true);
// Do GPS init
gps.init(&DataFlash, serial_manager);
gps.set_log_gps_bit(MASK_LOG_GPS);
gps.init(serial_manager);
rc_override_active = hal.rcin->set_overrides(rc_override, 8);