ArduCopter: 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:32 +11:00 committed by Andrew Tridgell
parent 1f099991b9
commit 1ee1f24ea9
1 changed files with 1 additions and 1 deletions

View File

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