mirror of https://github.com/ArduPilot/ardupilot
ArduSub: stop passing serial manager to GPS init
it can get this via the singleton
This commit is contained in:
parent
6cd55a9eda
commit
547358c86a
|
@ -68,7 +68,7 @@ void Sub::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