mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Sub: check dataflash to see if we should log backend gps messages
This commit is contained in:
parent
1ca5f243a5
commit
f8d1ac47c7
@ -85,7 +85,8 @@ void Sub::init_ardupilot()
|
|||||||
hal.scheduler->register_timer_failsafe(failsafe_check_static, 1000);
|
hal.scheduler->register_timer_failsafe(failsafe_check_static, 1000);
|
||||||
|
|
||||||
// Do GPS init
|
// Do GPS init
|
||||||
gps.init(&DataFlash, serial_manager);
|
gps.set_log_gps_bit(MASK_LOG_GPS);
|
||||||
|
gps.init(serial_manager);
|
||||||
|
|
||||||
if (g.compass_enabled) {
|
if (g.compass_enabled) {
|
||||||
init_compass();
|
init_compass();
|
||||||
|
Loading…
Reference in New Issue
Block a user