ArduSub: stop passing serial manager to GPS init

it can get this via the singleton
This commit is contained in:
Peter Barker 2024-03-17 21:21:33 +11:00 committed by Andrew Tridgell
parent 6cd55a9eda
commit 547358c86a
1 changed files with 1 additions and 1 deletions

View File

@ -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();