mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
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
|
// Do GPS init
|
||||||
gps.set_log_gps_bit(MASK_LOG_GPS);
|
gps.set_log_gps_bit(MASK_LOG_GPS);
|
||||||
gps.init(serial_manager);
|
gps.init();
|
||||||
|
|
||||||
AP::compass().set_log_bit(MASK_LOG_COMPASS);
|
AP::compass().set_log_bit(MASK_LOG_COMPASS);
|
||||||
AP::compass().init();
|
AP::compass().init();
|
||||||
|
Loading…
Reference in New Issue
Block a user