mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: stop passing serial manager to GPS init
it can get this via the singleton
This commit is contained in:
parent
1f099991b9
commit
1ee1f24ea9
|
@ -84,7 +84,7 @@ void Copter::init_ardupilot()
|
|||
|
||||
// Do GPS init
|
||||
gps.set_log_gps_bit(MASK_LOG_GPS);
|
||||
gps.init(serial_manager);
|
||||
gps.init();
|
||||
|
||||
AP::compass().set_log_bit(MASK_LOG_COMPASS);
|
||||
AP::compass().init();
|
||||
|
|
Loading…
Reference in New Issue