From 6cd55a9eda2864f97dcf0866c518d421165f9108 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 17 Mar 2024 21:21:32 +1100 Subject: [PATCH] ArduPlane: stop passing serial manager to GPS init it can get this via the singleton --- ArduPlane/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index 17d57395d9..0191184d50 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -74,7 +74,7 @@ void Plane::init_ardupilot() // GPS Initialization gps.set_log_gps_bit(MASK_LOG_GPS); - gps.init(serial_manager); + gps.init(); init_rc_in(); // sets up rc channels from radio